Trait PrimitiveFloat

Source
pub trait PrimitiveFloat: SealedTrait { }
Expand description

The built-in floating point types f32 and f64.

This is a “sealed” trait that cannot be implemented for any other types.

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

Source§

impl PrimitiveFloat for f64

Implementors§