Trait KDEFloat

Source
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§

Source§

impl<T> KDEFloat for T

KDEFloat is automatically implemented for all types which fulfill the trait bounds.