let a= [1, 2]; a.iter().filter(|x|..).map(|x|...)
https://doc.rust-lang.org/std/convert/trait.Into.html
This is THE feature I wish other langs copy. Combined with serde:
https://github.com/serde-rs/serde
Is possible to cut a lot of boilerplate related to data transformation (that is the main task in my case).
https://doc.rust-lang.org/std/convert/trait.Into.html
This is THE feature I wish other langs copy. Combined with serde:
https://github.com/serde-rs/serde
Is possible to cut a lot of boilerplate related to data transformation (that is the main task in my case).