pub trait PrimitiveFloat: SealedTrait { }
Expand description
The built-in floating point types f32
and f64
.
This is a “sealed” trait that cannot be implemented for any other types.
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.