pub enum NormalizedFloat {
Finite(f64),
PosInf,
NegInf,
NaN,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NormalizedFloat
impl Clone for NormalizedFloat
Source§fn clone(&self) -> NormalizedFloat
fn clone(&self) -> NormalizedFloat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormalizedFloat
Source§impl Debug for NormalizedFloat
impl Debug for NormalizedFloat
Source§impl PartialEq for NormalizedFloat
impl PartialEq for NormalizedFloat
Source§fn eq(&self, other: &NormalizedFloat) -> bool
fn eq(&self, other: &NormalizedFloat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NormalizedFloat
Auto Trait Implementations§
impl Freeze for NormalizedFloat
impl RefUnwindSafe for NormalizedFloat
impl Send for NormalizedFloat
impl Sync for NormalizedFloat
impl Unpin for NormalizedFloat
impl UnsafeUnpin for NormalizedFloat
impl UnwindSafe for NormalizedFloat
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