Module no_std_compat2::convert
source · Available on non-crate feature
std only.Enums
- The error type for errors that can never happen.
Traits
- FloatToIntExperimentalSupporting trait for inherent methods of
f32andf64such asto_int_unchecked. Typically doesn’t need to be used directly. - Used to do a cheap mutable-to-mutable reference conversion.
- Used to do a cheap reference-to-reference conversion.
- Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into. - A value-to-value conversion that consumes the input value. The opposite of
From. - Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of
TryInto. - An attempted conversion that consumes
self, which may or may not be expensive.
Functions
- The identity function.