Primitive

Trait Primitive 

Source
pub trait Primitive:
    BaseEncoding
    + Copy
    + EmptyOrd<Empty = Self>
    + Endofunction
    + InfinityEncoding
    + NanEncoding<Nan = Nan<Self>>
    + PartialEq
    + PartialOrd
    + RealFunction
    + Sealed { }
Expand description

A primitive IEEE 754 floating-point type.

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

Source§

impl Primitive for f64

Implementors§