One of the most use-full things of Rust is to have a clear "conversion" trait:
https://doc.rust-lang.org/std/convert/trait.From.html
This is my #1 thing with rust.
Is a stroke of genius to have a clear API for make conversions.
https://doc.rust-lang.org/std/convert/trait.From.html
This is my #1 thing with rust.
Is a stroke of genius to have a clear API for make conversions.