Trait FloatImpl

Source
pub trait FloatImpl {
    // Required methods
    fn is_nan(&self) -> bool;
    fn hash<H: Hasher>(&self, state: &mut H);
}

Required Methods§

Source

fn is_nan(&self) -> bool

Source

fn hash<H: Hasher>(&self, state: &mut H)

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

Source§

fn is_nan(&self) -> bool

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Source§

impl FloatImpl for f64

Source§

fn is_nan(&self) -> bool

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Implementors§