pub enum Float {
F16(f16),
F32(f32),
F64(f64),
}Expand description
A floating-point value.
Use Float::from() to construct a Float.
Variants§
F16(f16)
IEEE 754 Half-Precision Float (16 bits)
F32(f32)
IEEE 754 Single-Precision Float (32 bits)
F64(f64)
IEEE 754 Double-Precision Float (64 bits)
Trait Implementations§
impl StructuralPartialEq 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 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