pub trait FloatToInt<Int>: Sized + Sealed { }
convert_float_to_int
Supporting trait for inherent methods of f32 and f64 such as to_int_unchecked. Typically doesn’t need to be used directly.
f32
f64
to_int_unchecked
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.