pub trait FpRepr:
Sized
+ Copy
+ PartialEq
+ PartialOrd {
type Bits;
Show 17 associated constants and 0 method
const ZERO: Self;
const ONE: Self;
const MIN: Self;
const MAX: Self;
const MIN_POSITIVE: Self;
const INFINITY: Self;
const NEG_INFINITY: Self;
const BITS: u32;
const SIGN_BITS: u32;
const EXPONENT_BITS: u32;
const SIGNIFICAND_BITS: u32;
const EXPONENT_MAX: Self::Bits;
const EXPONENT_BIAS: Self::Bits;
const SIGN_MASK: Self::Bits;
const EXPONENT_MASK: Self::Bits;
const SIGNIFICAND_MASK: Self::Bits;
const IMPLICIT_BIT: Self::Bits;
}Required Associated Constants§
const ZERO: Self
const ONE: Self
const MIN: Self
const MAX: Self
const MIN_POSITIVE: Self
const INFINITY: Self
const NEG_INFINITY: Self
const BITS: u32
const SIGN_BITS: u32
const EXPONENT_BITS: u32
const SIGNIFICAND_BITS: u32
const EXPONENT_MAX: Self::Bits
const EXPONENT_BIAS: Self::Bits
const SIGN_MASK: Self::Bits
const EXPONENT_MASK: Self::Bits
const SIGNIFICAND_MASK: Self::Bits
const IMPLICIT_BIT: Self::Bits
Required Associated 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.