pub struct Float32(/* private fields */);Expand description
Finite canonical f32. Construction normalizes negative zero; NaN and infinities refuse.
Implementations§
Trait Implementations§
impl Copy for Float32
impl Eq for Float32
Source§impl From<Float32> for IndexValue<'_>
impl From<Float32> for IndexValue<'_>
Source§impl Ord for Float32
impl Ord for Float32
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Float32
impl PartialOrd for Float32
impl StructuralPartialEq for Float32
Auto Trait Implementations§
impl Forget for Float32
impl Freeze for Float32
impl Move for Float32
impl RefUnwindSafe for Float32
impl Send for Float32
impl Sync for Float32
impl Unpin for Float32
impl UnsafeUnpin for Float32
impl UnwindSafe for Float32
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