Struct strict_num::FiniteF64
source · #[repr(transparent)]pub struct FiniteF64(pub(crate) f64);
Expand description
An immutable, finite f64
.
Unlike f64
, implements Ord
, PartialOrd
and Hash
.
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
source§impl Ord for FiniteF64
impl Ord for FiniteF64
source§impl PartialOrd for FiniteF64
impl PartialOrd for FiniteF64
impl Copy for FiniteF64
impl Eq for FiniteF64
Auto Trait Implementations§
impl Freeze for FiniteF64
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)