pub trait KDEFloat:
'static
+ Float
+ FloatConst
+ FromPrimitive
+ ToPrimitive
+ Debug
+ Display
+ Sum
+ AddAssign { }
Expand description
An alias for float types (f32, f64) which combines many commonly required traits. It is automatically implemented for all types which fulfill the trait bounds.
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.
Implementors§
impl<T> KDEFloat for Twhere
T: 'static + Float + FloatConst + FromPrimitive + ToPrimitive + Debug + Display + Sum + AddAssign,
KDEFloat
is automatically implemented for all
types which fulfill the trait bounds.