blob: 78d9e2d31e5090361ddaeb5fdefa5226783328a8 [file] [log] [blame] [view] [edit]
# Conversion
Rust addresses conversion between types by the use of [traits]. The generic
conversions will use the [`From`] and [`Into`] traits. However there are more
specific ones for the more common cases, in particular when converting to and
from `String`s.
[traits]: trait.md
[`From`]: https://doc.rust-lang.org/std/convert/trait.From.html
[`Into`]: https://doc.rust-lang.org/std/convert/trait.Into.html