Enum NumberCategory
pub enum NumberCategory {
Nan,
Infinite,
Zero,
Subnormal,
Normal,
}Expand description
Broad categories for raw f64 values.
Variants§
Nan
The value is not a number.
Infinite
The value is positive or negative infinity.
Zero
The value is positive or negative zero.
Subnormal
The value is non-zero but below the normal minimum magnitude.
Normal
The value is a finite normal floating-point number.
Trait Implementations§
§impl Clone for NumberCategory
impl Clone for NumberCategory
§fn clone(&self) -> NumberCategory
fn clone(&self) -> NumberCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for NumberCategory
impl Debug for NumberCategory
§impl PartialEq for NumberCategory
impl PartialEq for NumberCategory
impl Copy for NumberCategory
impl Eq for NumberCategory
impl StructuralPartialEq for NumberCategory
Auto Trait Implementations§
impl Freeze for NumberCategory
impl RefUnwindSafe for NumberCategory
impl Send for NumberCategory
impl Sync for NumberCategory
impl Unpin for NumberCategory
impl UnsafeUnpin for NumberCategory
impl UnwindSafe for NumberCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more