no_std_compat

Module convert

Source

Enums§

  • The error type for errors that can never happen.

Traits§

  • 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.
  • FloatToIntExperimental
    Supporting trait for inherent methods of f32 and f64 such as to_int_unchecked. Typically doesn’t need to be used directly.

Functions§