Struct nekolib::math::modint::DynamicModInt
source · pub struct DynamicModInt<I> { /* private fields */ }
Implementations§
source§impl<I: DynamicModIntId> DynamicModInt<I>
impl<I: DynamicModIntId> DynamicModInt<I>
Trait Implementations§
source§impl<I: DynamicModIntId> Add<&DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Add<&DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
+
operator.source§fn add(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn add(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
+
operation. Read moresource§impl<I: DynamicModIntId> Add<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Add<&DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
+
operator.source§fn add(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn add(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
+
operation. Read moresource§impl<I: DynamicModIntId> Add<DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Add<DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
+
operator.source§fn add(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn add(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
+
operation. Read moresource§impl<I: DynamicModIntId> Add<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Add<DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
+
operator.source§fn add(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn add(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
+
operation. Read moresource§impl<I: DynamicModIntId> AddAssign<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> AddAssign<&DynamicModInt<I>> for DynamicModInt<I>
source§fn add_assign(&mut self, rhs: &DynamicModInt<I>)
fn add_assign(&mut self, rhs: &DynamicModInt<I>)
Performs the
+=
operation. Read moresource§impl<I: DynamicModIntId> AddAssign<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> AddAssign<DynamicModInt<I>> for DynamicModInt<I>
source§fn add_assign(&mut self, rhs: DynamicModInt<I>)
fn add_assign(&mut self, rhs: DynamicModInt<I>)
Performs the
+=
operation. Read moresource§impl<I: Clone> Clone for DynamicModInt<I>
impl<I: Clone> Clone for DynamicModInt<I>
source§fn clone(&self) -> DynamicModInt<I>
fn clone(&self) -> DynamicModInt<I>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<I: DynamicModIntId> Debug for DynamicModInt<I>
impl<I: DynamicModIntId> Debug for DynamicModInt<I>
source§impl<I: DynamicModIntId> Default for DynamicModInt<I>
impl<I: DynamicModIntId> Default for DynamicModInt<I>
source§impl<I: DynamicModIntId> Display for DynamicModInt<I>
impl<I: DynamicModIntId> Display for DynamicModInt<I>
source§impl<I: DynamicModIntId> Div<&DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Div<&DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
/
operator.source§fn div(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn div(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
/
operation. Read moresource§impl<I: DynamicModIntId> Div<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Div<&DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
/
operator.source§fn div(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn div(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
/
operation. Read moresource§impl<I: DynamicModIntId> Div<DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Div<DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
/
operator.source§fn div(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn div(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
/
operation. Read moresource§impl<I: DynamicModIntId> Div<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Div<DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
/
operator.source§fn div(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn div(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
/
operation. Read moresource§impl<I: DynamicModIntId> DivAssign<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> DivAssign<&DynamicModInt<I>> for DynamicModInt<I>
source§fn div_assign(&mut self, rhs: &DynamicModInt<I>)
fn div_assign(&mut self, rhs: &DynamicModInt<I>)
Performs the
/=
operation. Read moresource§impl<I: DynamicModIntId> DivAssign<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> DivAssign<DynamicModInt<I>> for DynamicModInt<I>
source§fn div_assign(&mut self, rhs: DynamicModInt<I>)
fn div_assign(&mut self, rhs: DynamicModInt<I>)
Performs the
/=
operation. Read moresource§impl<J: RemEuclidU32, I: DynamicModIntId> From<J> for DynamicModInt<I>
impl<J: RemEuclidU32, I: DynamicModIntId> From<J> for DynamicModInt<I>
source§impl<I: DynamicModIntId> Hash for DynamicModInt<I>
impl<I: DynamicModIntId> Hash for DynamicModInt<I>
source§impl<I: DynamicModIntId> ModIntBase for DynamicModInt<I>
impl<I: DynamicModIntId> ModIntBase for DynamicModInt<I>
source§impl<I: DynamicModIntId> Mul<&DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Mul<&DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
*
operator.source§fn mul(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn mul(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
*
operation. Read moresource§impl<I: DynamicModIntId> Mul<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Mul<&DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
*
operator.source§fn mul(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn mul(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
*
operation. Read moresource§impl<I: DynamicModIntId> Mul<DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Mul<DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
*
operator.source§fn mul(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn mul(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
*
operation. Read moresource§impl<I: DynamicModIntId> Mul<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Mul<DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
*
operator.source§fn mul(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn mul(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
*
operation. Read moresource§impl<I: DynamicModIntId> MulAssign<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> MulAssign<&DynamicModInt<I>> for DynamicModInt<I>
source§fn mul_assign(&mut self, rhs: &DynamicModInt<I>)
fn mul_assign(&mut self, rhs: &DynamicModInt<I>)
Performs the
*=
operation. Read moresource§impl<I: DynamicModIntId> MulAssign<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> MulAssign<DynamicModInt<I>> for DynamicModInt<I>
source§fn mul_assign(&mut self, rhs: DynamicModInt<I>)
fn mul_assign(&mut self, rhs: DynamicModInt<I>)
Performs the
*=
operation. Read moresource§impl<I: DynamicModIntId> Neg for DynamicModInt<I>
impl<I: DynamicModIntId> Neg for DynamicModInt<I>
source§impl<I: PartialEq> PartialEq<DynamicModInt<I>> for DynamicModInt<I>
impl<I: PartialEq> PartialEq<DynamicModInt<I>> for DynamicModInt<I>
source§fn eq(&self, other: &DynamicModInt<I>) -> bool
fn eq(&self, other: &DynamicModInt<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a, I: DynamicModIntId> Product<&'a DynamicModInt<I>> for DynamicModInt<I>
impl<'a, I: DynamicModIntId> Product<&'a DynamicModInt<I>> for DynamicModInt<I>
source§impl<I: DynamicModIntId> Product<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Product<DynamicModInt<I>> for DynamicModInt<I>
source§impl<I: DynamicModIntId> Sub<&DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Sub<&DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
-
operator.source§fn sub(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn sub(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
-
operation. Read moresource§impl<I: DynamicModIntId> Sub<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Sub<&DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
-
operator.source§fn sub(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
fn sub(self, rhs: &DynamicModInt<I>) -> DynamicModInt<I>
Performs the
-
operation. Read moresource§impl<I: DynamicModIntId> Sub<DynamicModInt<I>> for &DynamicModInt<I>
impl<I: DynamicModIntId> Sub<DynamicModInt<I>> for &DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
-
operator.source§fn sub(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn sub(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
-
operation. Read moresource§impl<I: DynamicModIntId> Sub<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Sub<DynamicModInt<I>> for DynamicModInt<I>
§type Output = DynamicModInt<I>
type Output = DynamicModInt<I>
The resulting type after applying the
-
operator.source§fn sub(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
fn sub(self, rhs: DynamicModInt<I>) -> DynamicModInt<I>
Performs the
-
operation. Read moresource§impl<I: DynamicModIntId> SubAssign<&DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> SubAssign<&DynamicModInt<I>> for DynamicModInt<I>
source§fn sub_assign(&mut self, rhs: &DynamicModInt<I>)
fn sub_assign(&mut self, rhs: &DynamicModInt<I>)
Performs the
-=
operation. Read moresource§impl<I: DynamicModIntId> SubAssign<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> SubAssign<DynamicModInt<I>> for DynamicModInt<I>
source§fn sub_assign(&mut self, rhs: DynamicModInt<I>)
fn sub_assign(&mut self, rhs: DynamicModInt<I>)
Performs the
-=
operation. Read moresource§impl<'a, I: DynamicModIntId> Sum<&'a DynamicModInt<I>> for DynamicModInt<I>
impl<'a, I: DynamicModIntId> Sum<&'a DynamicModInt<I>> for DynamicModInt<I>
source§impl<I: DynamicModIntId> Sum<DynamicModInt<I>> for DynamicModInt<I>
impl<I: DynamicModIntId> Sum<DynamicModInt<I>> for DynamicModInt<I>
impl<I: Copy> Copy for DynamicModInt<I>
impl<I: Eq> Eq for DynamicModInt<I>
impl<I> StructuralEq for DynamicModInt<I>
impl<I> StructuralPartialEq for DynamicModInt<I>
Auto Trait Implementations§
impl<I> RefUnwindSafe for DynamicModInt<I>
impl<I> Send for DynamicModInt<I>
impl<I> Sync for DynamicModInt<I>
impl<I> Unpin for DynamicModInt<I>
impl<I> UnwindSafe for DynamicModInt<I>
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