Tuple Fields
0: T
Implementations
Trait Implementations
sourceimpl AddAssign<ModInt<usize>> for ModInt<usize>
impl AddAssign<ModInt<usize>> for ModInt<usize>
sourcefn add_assign(&mut self, other: ModInt<usize>)
fn add_assign(&mut self, other: ModInt<usize>)
Performs the
+=
operation. Read moresourceimpl AddAssign<usize> for ModInt<usize>
impl AddAssign<usize> for ModInt<usize>
sourcefn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
Performs the
+=
operation. Read moresourceimpl MulAssign<ModInt<usize>> for ModInt<usize>
impl MulAssign<ModInt<usize>> for ModInt<usize>
sourcefn mul_assign(&mut self, rhs: ModInt<usize>)
fn mul_assign(&mut self, rhs: ModInt<usize>)
Performs the
*=
operation. Read moresourceimpl MulAssign<usize> for ModInt<usize>
impl MulAssign<usize> for ModInt<usize>
sourcefn mul_assign(&mut self, rhs: usize)
fn mul_assign(&mut self, rhs: usize)
Performs the
*=
operation. Read moresourceimpl SubAssign<ModInt<usize>> for ModInt<usize>
impl SubAssign<ModInt<usize>> for ModInt<usize>
sourcefn sub_assign(&mut self, other: ModInt<usize>)
fn sub_assign(&mut self, other: ModInt<usize>)
Performs the
-=
operation. Read moresourceimpl SubAssign<usize> for ModInt<usize>
impl SubAssign<usize> for ModInt<usize>
sourcefn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
Performs the
-=
operation. Read moreimpl<T: Copy + Copy + Clone> Copy for ModInt<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ModInt<T>where
T: RefUnwindSafe,
impl<T> Send for ModInt<T>where
T: Send,
impl<T> Sync for ModInt<T>where
T: Sync,
impl<T> Unpin for ModInt<T>where
T: Unpin,
impl<T> UnwindSafe for ModInt<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more