rust/std/convert

convert

dz / rust / std / convert

Node Tree

Nodes

TryFrom
content TryFrom: Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.
parents TryInto, rust/std/convert
hyperlink https://doc.rust-lang.org/std/convert/trait.TryFrom.html
location knowledge/rust.dz:132

2024-12-22 19:14 Zulip chat taught be about the TryFrom trait

TryInto
content TryInto: An attempted conversion that consumes self, which may or may not be expensive.
children TryFrom (Reciprocal)
parents rust/std/convert
hyperlink https://doc.rust-lang.org/std/convert/trait.TryInto.html
location knowledge/rust.dz:146