FloatPrimitive

Trait FloatPrimitive 

Source
pub trait FloatPrimitive:
    Sealed
    + Signed
    + Float
    + Num<FromStrRadixErr = ParseFloatError>
    + FromStr<Err = ParseFloatError>
    + FromPrimitive
    + Default
    + Display
    + Debug
    + Sum
    + Product
    + AddAssign
    + SubAssign
    + MulAssign
    + DivAssign
    + RemAssign
    + Send
    + Sync
    + 'static { }
Expand description

A trait for f32 and f64.

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 FloatPrimitive for f32

Source§

impl FloatPrimitive for f64

Implementors§