Trait FP

Source
pub trait FP:
    Float
    + Signed
    + Bounded
    + MulAssign
    + AddAssign
    + ToPrimitive
    + FromPrimitive
    + Copy
    + Debug
    + Default
    + FloatCore
    + TryInto<NotNan<Self>> { }

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.

Implementations on Foreign Types§

Source§

impl FP for f32

Source§

impl FP for f64

Implementors§