Struct strict_num::FiniteF64
source · pub struct FiniteF64(/* private fields */);
Expand description
An immutable, finite f64
.
Unlike f64
, implements Ord
, PartialOrd
and Hash
.
Implementations§
Trait Implementations§
source§impl Ord for FiniteF64
impl Ord for FiniteF64
source§impl PartialEq for FiniteF64
impl PartialEq for FiniteF64
source§impl PartialOrd for FiniteF64
impl PartialOrd for FiniteF64
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 FiniteF64
impl Eq for FiniteF64
Auto Trait Implementations§
impl RefUnwindSafe for FiniteF64
impl Send for FiniteF64
impl Sync for FiniteF64
impl Unpin for FiniteF64
impl UnwindSafe for FiniteF64
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