pub trait FloatToInt<Int>: Sized + Sealed { }
🔬This is a nightly-only experimental API. (
convert_float_to_int
)Available on crate feature
std
only.Expand description
Supporting trait for inherent methods of f32
and f64
such as to_int_unchecked
.
Typically doesn’t need to be used directly.
Object Safety§
This trait is not object safe.