pub struct Num64(/* private fields */);
Expand description
A fixed size number type with some improvements and customizations
over Rational64
.
Please note that this type is meant to be used mostly in scenarios
where memory boundedness is of paramount importance. Importantly,
it does not constitute a fully blown replacement for Num
, as
the provided functionality is much more limited (and likely will
never catch up completely).
Implementations§
Trait Implementations§
Source§impl Ord for Num64
impl Ord for Num64
Source§impl PartialOrd for Num64
impl PartialOrd for Num64
impl Copy for Num64
impl Eq for Num64
impl StructuralPartialEq for Num64
Auto Trait Implementations§
impl Freeze for Num64
impl RefUnwindSafe for Num64
impl Send for Num64
impl Sync for Num64
impl Unpin for Num64
impl UnwindSafe for Num64
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