pub struct M61(/* private fields */);Expand description
A 64-bit integer in which arithmetic is performed modulp 2^61 - 1.
Implementations§
Trait Implementations§
Source§impl<'a> AddAssign<&'a M61> for M61
impl<'a> AddAssign<&'a M61> for M61
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+= operation. Read moreSource§impl AddAssign for M61
impl AddAssign for M61
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'a> DivAssign<&'a M61> for M61
impl<'a> DivAssign<&'a M61> for M61
Source§fn div_assign(&mut self, rhs: &Self)
fn div_assign(&mut self, rhs: &Self)
Performs the
/= operation. Read moreSource§impl DivAssign for M61
impl DivAssign for M61
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl<'a> MulAssign<&'a M61> for M61
impl<'a> MulAssign<&'a M61> for M61
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*= operation. Read moreSource§impl MulAssign for M61
impl MulAssign for M61
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Ord for M61
impl Ord for M61
Source§impl PartialOrd for M61
impl PartialOrd for M61
Source§impl<'a> SubAssign<&'a M61> for M61
impl<'a> SubAssign<&'a M61> for M61
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-= operation. Read moreSource§impl SubAssign for M61
impl SubAssign for M61
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for M61
impl Eq for M61
impl StructuralPartialEq for M61
Auto Trait Implementations§
impl Freeze for M61
impl RefUnwindSafe for M61
impl Send for M61
impl Sync for M61
impl Unpin for M61
impl UnwindSafe for M61
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