pub enum SpecialValueKind {
PositiveInfinity,
NegativeInfinity,
NaN,
}Expand description
Types of special floating-point values.
Variants§
PositiveInfinity
Positive infinity (+∞).
NegativeInfinity
Negative infinity (-∞).
NaN
Not a Number (NaN).
Implementations§
Trait Implementations§
Source§impl Clone for SpecialValueKind
impl Clone for SpecialValueKind
Source§fn clone(&self) -> SpecialValueKind
fn clone(&self) -> SpecialValueKind
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 moreSource§impl Debug for SpecialValueKind
impl Debug for SpecialValueKind
Source§impl PartialEq for SpecialValueKind
impl PartialEq for SpecialValueKind
impl Copy for SpecialValueKind
impl Eq for SpecialValueKind
impl StructuralPartialEq for SpecialValueKind
Auto Trait Implementations§
impl Freeze for SpecialValueKind
impl RefUnwindSafe for SpecialValueKind
impl Send for SpecialValueKind
impl Sync for SpecialValueKind
impl Unpin for SpecialValueKind
impl UnwindSafe for SpecialValueKind
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