pub type RealNative64StrictFiniteInDebug = RealValidated<Native64StrictFiniteInDebug>;Expand description
A validated real number that checks for finiteness only in debug builds.
This is a type alias for RealValidated<Native64StrictFiniteInDebug>.
Use this type in performance-sensitive contexts where the overhead of validation in release builds is unacceptable and inputs are known to be valid.
Aliased Type§
pub struct RealNative64StrictFiniteInDebug { /* private fields */ }Trait Implementations§
Source§impl CheckedBitPattern for RealNative64StrictFiniteInDebug
impl CheckedBitPattern for RealNative64StrictFiniteInDebug
Source§type Bits = u64
type Bits = u64
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.