Struct strict_num::FiniteF32
source · pub struct FiniteF32(/* private fields */);
Expand description
An immutable, finite f32
.
Unlike f32
, implements Ord
, PartialOrd
and Hash
.
Implementations§
Trait Implementations§
source§impl Ord for FiniteF32
impl Ord for FiniteF32
source§impl PartialEq for FiniteF32
impl PartialEq for FiniteF32
source§impl PartialOrd for FiniteF32
impl PartialOrd for FiniteF32
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FiniteF32
impl Eq for FiniteF32
Auto Trait Implementations§
impl RefUnwindSafe for FiniteF32
impl Send for FiniteF32
impl Sync for FiniteF32
impl Unpin for FiniteF32
impl UnwindSafe for FiniteF32
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