pub trait FloatToInt<Int>: Sized { }โ This trait cannot be implemented outside
core.๐ฌThis is a nightly-only experimental API. (
convert_float_to_int #67057)Expand description
Supporting trait for inherent methods of f32 and f64 such as to_int_unchecked.
Typically doesnโt need to be used directly.
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".