pub enum Float {
F32(f32),
F64(f64),
}Expand description
A float, with the width it came from. Compared and carried by bit
pattern, so NaN payloads and -0.0 survive, and -0.0 != 0.0.
Variants§
Trait Implementations§
impl Copy for Float
impl Eq for Float
impl OpaqueDebug for Float
Source§impl TimingSafeEq for Float
impl TimingSafeEq for Float
Auto Trait Implementations§
impl Freeze for Float
impl RefUnwindSafe for Float
impl Send for Float
impl Sync for Float
impl Unpin for Float
impl UnsafeUnpin for Float
impl UnwindSafe for Float
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