SealedTrait

Trait SealedTrait 

Source
pub trait SealedTrait: Copy + FloatCore {
    type Bits: Hash;

    const CANONICAL_NAN_BITS: Self::Bits;

    // Required method
    fn canonical_bits(self) -> Self::Bits;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn canonical_bits(self) -> Self::Bits

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

Source§

const CANONICAL_NAN_BITS: u32 = 2_143_289_344u32

Source§

type Bits = u32

Source§

fn canonical_bits(self) -> u32

Source§

impl SealedTrait for f64

Source§

const CANONICAL_NAN_BITS: u64 = 9_221_120_237_041_090_560u64

Source§

type Bits = u64

Source§

fn canonical_bits(self) -> u64

Implementors§