pub trait PrimitiveFloatToInt<Int>: PrimitiveFloat { }Expand description
Trait for conversions supported by PrimitiveFloat::to_int_unchecked.
This is effectively the same as the unstable core::convert::FloatToInt, implemented for all
combinations of PrimitiveFloat and PrimitiveInteger.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.