pub struct Number<const N: usize> { /* private fields */ }Expand description
A number that automatically allocates extra memory when it needs to, which means it can be as large as you want
Implementations§
Trait Implementations§
Source§impl<const N: usize> AddAssign for Number<N>
impl<const N: usize> AddAssign for Number<N>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<const N: usize> PartialOrd for Number<N>
impl<const N: usize> PartialOrd for Number<N>
impl<const N: usize> Copy for Number<N>
impl<const N: usize> Eq for Number<N>
impl<const N: usize> StructuralPartialEq for Number<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Number<N>
impl<const N: usize> RefUnwindSafe for Number<N>
impl<const N: usize> Send for Number<N>
impl<const N: usize> Sync for Number<N>
impl<const N: usize> Unpin for Number<N>
impl<const N: usize> UnwindSafe for Number<N>
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