ModType

Struct ModType 

Source
pub struct ModType<C: Cartridge> { /* private fields */ }
Expand description

A modular arithmetic integer type which modulus is a struct field.

§Example

#[allow(non_snake_case)]
let F = modtype::non_static::F::factory(1_000_000_007u64);

assert_eq!((F(1_000_000_006) + F(2)).to_string(), "1");

Implementations§

Source§

impl<T: UnsignedPrimitive, C: Cartridge<Target = T>> ModType<C>

Source

pub fn new(value: T, modulus: T) -> Self

Constructs a new ModType.

Source

pub fn new_unchecked(value: T, modulus: T) -> Self

Constructs a new ModType without checking the value.

Source

pub fn factory(modulus: T) -> impl Fn(T) -> Self

Same as move |n| Self::new(n, modulus).

Source

pub fn get_mut_unchecked(&mut self) -> &mut T

Returns a mutable reference to the inner value.

Source

pub fn adjust(&mut self)
where C: Cartridge<AssumeAlwaysAdjusted = False>,

Source

pub fn adjusted(self) -> Self
where C: Cartridge<AssumeAlwaysAdjusted = False>,

Source

pub fn modulus(self) -> T

Gets the modulus.

Source

pub fn sqrt(self) -> Option<Self>
where C: Cartridge<PartialMultiplication = True>,

Returns r such that r * r == self if it exists.

Trait Implementations§

Source§

impl<C> Add<&BigInt> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigInt) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&BigInt> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigInt) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&BigUint> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigUint) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&BigUint> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &BigUint) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&ModType<C>> for &ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &ModType<C>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&ModType<C>> for ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &ModType<C>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&f32> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&f32> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&f64> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&f64> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i128> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i128> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i16> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i16> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i32> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i32> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i64> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i64> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i8> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&i8> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &i8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&isize> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &isize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&isize> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &isize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u128> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u128> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u16> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u16> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u32> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u32> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u64> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u64> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u8> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&u8> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &u8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&usize> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &usize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<&usize> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &usize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<BigInt> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<BigInt> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigInt) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<BigUint> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigUint) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<BigUint> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: BigUint) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<ModType<C>> for &ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ModType<C>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<f32> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<f32> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<f64> for &ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<f64> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i128> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i128> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i16> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i16> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i32> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i32> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i64> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i64> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i8> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<i8> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<isize> for &ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: isize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<isize> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: isize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u128> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u128> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u128) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u16> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u16> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u16) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u32> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u32> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u32) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u64> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u64> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u8> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<u8> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<usize> for &ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: usize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add<usize> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: usize) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> Add for ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ModType<C>) -> ModType<C>

Performs the + operation. Read more
Source§

impl<C> AddAssign<&BigInt> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &BigInt)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&BigUint> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &BigUint)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&ModType<C>> for ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &Ratio<BigInt>)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &Ratio<BigUint>)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&f32> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &f32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&f64> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &f64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&i128> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &i128)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&i16> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &i16)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&i32> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &i32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&i64> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &i64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&i8> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &i8)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&isize> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &isize)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&u128> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &u128)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&u16> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &u16)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&u32> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &u32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&u64> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &u64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&u8> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &u8)

Performs the += operation. Read more
Source§

impl<C> AddAssign<&usize> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: &usize)

Performs the += operation. Read more
Source§

impl<C> AddAssign<BigInt> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: BigInt)

Performs the += operation. Read more
Source§

impl<C> AddAssign<BigUint> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: BigUint)

Performs the += operation. Read more
Source§

impl<C> AddAssign<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: Ratio<BigInt>)

Performs the += operation. Read more
Source§

impl<C> AddAssign<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: Ratio<BigUint>)

Performs the += operation. Read more
Source§

impl<C> AddAssign<f32> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: f32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<f64> for ModType<C>
where C: Cartridge<PartialAddition = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: f64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<i128> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: i128)

Performs the += operation. Read more
Source§

impl<C> AddAssign<i16> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: i16)

Performs the += operation. Read more
Source§

impl<C> AddAssign<i32> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<i64> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: i64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<i8> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: i8)

Performs the += operation. Read more
Source§

impl<C> AddAssign<isize> for ModType<C>
where C: Cartridge<PartialAddition = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: isize)

Performs the += operation. Read more
Source§

impl<C> AddAssign<u128> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
Source§

impl<C> AddAssign<u16> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: u16)

Performs the += operation. Read more
Source§

impl<C> AddAssign<u32> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: u32)

Performs the += operation. Read more
Source§

impl<C> AddAssign<u64> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
Source§

impl<C> AddAssign<u8> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: u8)

Performs the += operation. Read more
Source§

impl<C> AddAssign<usize> for ModType<C>
where C: Cartridge<PartialAddition = True, FlexibleRhs = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: usize)

Performs the += operation. Read more
Source§

impl<C> AddAssign for ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl<C> CheckedAdd for ModType<C>
where C: Cartridge<PartialAddition = True> + Cartridge,

Source§

fn checked_add(&self, rhs: &Self) -> Option<Self>

Adds two numbers, checking for overflow. If overflow happens, None is returned.
Source§

impl<C> CheckedDiv for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn checked_div(&self, rhs: &Self) -> Option<Self>

Divides two numbers, checking for underflow, overflow and division by zero. If any of that happens, None is returned.
Source§

impl<C> CheckedMul for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

fn checked_mul(&self, rhs: &Self) -> Option<Self>

Multiplies two numbers, checking for underflow or overflow. If underflow or overflow happens, None is returned.
Source§

impl<C> CheckedNeg for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

fn checked_neg(&self) -> Option<Self>

Negates a number, returning None for results that can’t be represented, like signed MIN values that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
Source§

impl<C> CheckedRem for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn checked_rem(&self, rhs: &Self) -> Option<Self>

Finds the remainder of dividing two numbers, checking for underflow, overflow and division by zero. If any of that happens, None is returned. Read more
Source§

impl<C> CheckedSub for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

fn checked_sub(&self, rhs: &Self) -> Option<Self>

Subtracts two numbers, checking for underflow. If underflow happens, None is returned.
Source§

impl<C: Cartridge> Clone for ModType<C>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C: Cartridge> Debug for ModType<C>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C> Deref for ModType<C>
where C: Cartridge<Deref = True> + Cartridge,

Source§

type Target = <C as Cartridge>::Target

The resulting type after dereferencing.
Source§

fn deref(&self) -> &C::Target

Dereferences the value.
Source§

impl<C: Cartridge> Display for ModType<C>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C> Div<&BigInt> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigInt) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigInt) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&BigUint> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigUint) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &BigUint) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&ModType<C>> for &ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &ModType<C>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&ModType<C>> for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &ModType<C>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&f32> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&f64> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i128> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i16> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i32> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i64> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i8> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &i8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&isize> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &isize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &isize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u128> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u16> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u32> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u64> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u8> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &u8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&usize> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &usize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<&usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &usize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<BigInt> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigInt) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<BigUint> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigUint) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: BigUint) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<ModType<C>> for &ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ModType<C>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<f32> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<f64> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i128> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i16> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i32> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i64> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i8> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<isize> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: isize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: isize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u128> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u128) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u16> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u16) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u32> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u32) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u64> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u8> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u8) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<usize> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: usize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div<usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: usize) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> Div for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ModType<C>) -> ModType<C>

Performs the / operation. Read more
Source§

impl<C> DivAssign<&BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &BigInt)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &BigUint)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&ModType<C>> for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &Self)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &Ratio<BigInt>)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &Ratio<BigUint>)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &f32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &f64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &i128)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &i16)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &i32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &i64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &i8)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &isize)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &u128)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &u16)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &u32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &u64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &u8)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<&usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: &usize)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: BigInt)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: BigUint)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: Ratio<BigInt>)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: Ratio<BigUint>)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: f32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: f64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: i128)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: i16)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: i8)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: isize)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: u128)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: u16)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: u32)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: u8)

Performs the /= operation. Read more
Source§

impl<C> DivAssign<usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: usize)

Performs the /= operation. Read more
Source§

impl<C> DivAssign for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn div_assign(&mut self, rhs: Self)

Performs the /= operation. Read more
Source§

impl<C> Inv for &ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn inv(self) -> ModType<C>

Returns the multiplicative inverse of self. Read more
Source§

impl<C> Inv for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn inv(self) -> ModType<C>

Returns the multiplicative inverse of self. Read more
Source§

impl<C> Mul<&BigInt> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigInt) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&BigInt> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigInt) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&BigUint> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigUint) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&BigUint> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &BigUint) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&ModType<C>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &ModType<C>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&ModType<C>> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &ModType<C>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&f32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&f32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&f64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&f64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&i8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &i8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&isize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &isize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&isize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &isize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &u8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&usize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &usize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<&usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &usize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<BigInt> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<BigInt> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigInt) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<BigUint> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigUint) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<BigUint> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: BigUint) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<ModType<C>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ModType<C>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<f32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<f32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<f64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<f64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<i8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<isize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: isize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<isize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: isize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u128) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u16) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<usize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: usize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul<usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: usize) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> Mul for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ModType<C>) -> ModType<C>

Performs the * operation. Read more
Source§

impl<C> MulAssign<&BigInt> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &BigInt)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&BigUint> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &BigUint)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&ModType<C>> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &Self)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &Ratio<BigInt>)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &Ratio<BigUint>)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&f32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &f32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&f64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &f64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&i128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &i128)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&i16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &i16)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&i32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &i32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&i64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &i64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&i8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &i8)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&isize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &isize)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &u128)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &u16)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &u32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &u64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &u8)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<&usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: &usize)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<BigInt> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: BigInt)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<BigUint> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: BigUint)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: Ratio<BigInt>)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: Ratio<BigUint>)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<f32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: f32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<f64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: f64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<i128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: i128)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<i16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: i16)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<i32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<i64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<i8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: i8)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<isize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: isize)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: u16)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: u8)

Performs the *= operation. Read more
Source§

impl<C> MulAssign<usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: usize)

Performs the *= operation. Read more
Source§

impl<C> MulAssign for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

fn mul_assign(&mut self, rhs: Self)

Performs the *= operation. Read more
Source§

impl<C> Neg for &ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn neg(self) -> ModType<C>

Performs the unary - operation. Read more
Source§

impl<C> Neg for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self

Performs the unary - operation. Read more
Source§

impl<C> Ord for ModType<C>
where C: Cartridge<Equality = True, Order = True> + Cartridge,

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<C> PartialEq for ModType<C>
where C: Cartridge<Equality = True> + Cartridge,

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<C> PartialOrd for ModType<C>
where C: Cartridge<Equality = True, Order = True> + Cartridge,

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<C> Pow<&i128> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i128) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i128> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i128) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i16> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i16) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i16> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i16) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i32> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i32) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i32> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i32) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i64> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i64) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i64> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i64) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i8> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i8) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&i8> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &i8) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&isize> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &isize) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&isize> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &isize) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u128) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u128) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u16) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u16) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u32) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u32) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u64) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u64) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u8) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &u8) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&usize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &usize) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<&usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: &usize) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i128> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i128) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i128> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i128) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i16> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i16) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i16> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i16) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i32> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i32) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i32> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i32) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i64> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i64) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i64> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i64) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i8> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i8) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<i8> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: i8) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<isize> for &ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: isize) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<isize> for ModType<C>
where C: Cartridge<AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: isize) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u128> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u128) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u128> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u128) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u16> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u16) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u16> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u16) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u32> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u32) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u32> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u32) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u64> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u64) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u64> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u64) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u8> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u8) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<u8> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: u8) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Pow<usize> for &ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: usize) -> ModType<C>

Returns self to the power rhs. Read more
Source§

impl<C> Pow<usize> for ModType<C>
where C: Cartridge<PartialMultiplication = True> + Cartridge,

Source§

type Output = ModType<C>

The result after applying the operator.
Source§

fn pow(self, exp: usize) -> Self

Returns self to the power rhs. Read more
Source§

impl<C> Rem<&BigInt> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigInt) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigInt) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&BigUint> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigUint) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &BigUint) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&ModType<C>> for &ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &ModType<C>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&ModType<C>> for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &ModType<C>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&f32> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &f32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &f32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&f64> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &f64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &f64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i128> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i16> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i32> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i64> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i8> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &i8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&isize> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &isize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &isize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u128> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u16> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u32> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u64> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u8> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &u8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&usize> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &usize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<&usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &usize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<BigInt> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigInt) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<BigUint> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigUint) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: BigUint) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<ModType<C>> for &ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ModType<C>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<f32> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<f64> for &ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i128> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i16> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i32> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i64> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i8> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<isize> for &ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: isize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: isize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u128> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u128) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u16> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u16) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u32> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u32) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u64> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u64) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u8> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u8) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<usize> for &ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: usize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem<usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: usize) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> Rem for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: ModType<C>) -> ModType<C>

Performs the % operation. Read more
Source§

impl<C> RemAssign<&BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &BigInt)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &BigUint)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&ModType<C>> for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &Self)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &Ratio<BigInt>)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &Ratio<BigUint>)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &f32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &f64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &i128)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &i16)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &i32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &i64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &i8)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &isize)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &u128)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &u16)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &u32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &u64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &u8)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<&usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: &usize)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<BigInt> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: BigInt)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<BigUint> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: BigUint)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: Ratio<BigInt>)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: Ratio<BigUint>)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<f32> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: f32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<f64> for ModType<C>
where C: Cartridge<PartialDivision = True, AssumePrimeModulus = True, PartialSubtraction = True, PartialMultiplication = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: f64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<i128> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: i128)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<i16> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: i16)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<i32> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: i32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<i64> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: i64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<i8> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: i8)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<isize> for ModType<C>
where C: Cartridge<PartialDivision = True, PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: isize)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<u128> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: u128)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<u16> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: u16)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<u32> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: u32)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<u64> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: u64)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<u8> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: u8)

Performs the %= operation. Read more
Source§

impl<C> RemAssign<usize> for ModType<C>
where C: Cartridge<PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: usize)

Performs the %= operation. Read more
Source§

impl<C> RemAssign for ModType<C>
where C: Cartridge<PartialDivision = True> + Cartridge,

Source§

fn rem_assign(&mut self, rhs: Self)

Performs the %= operation. Read more
Source§

impl<C> Sub<&BigInt> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigInt) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&BigInt> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigInt) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&BigUint> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigUint) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&BigUint> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &BigUint) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&ModType<C>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &ModType<C>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&ModType<C>> for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &ModType<C>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Ratio<BigInt>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Ratio<BigUint>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&f32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&f32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&f64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&f64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i128> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i16> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i8> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&i8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &i8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&isize> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &isize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&isize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &isize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u128> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u16> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u8> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&u8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &u8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&usize> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &usize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<&usize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &usize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<BigInt> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<BigInt> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigInt) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<BigUint> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigUint) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<BigUint> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: BigUint) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<ModType<C>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ModType<C>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<Ratio<BigInt>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Ratio<BigInt>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<Ratio<BigUint>> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Ratio<BigUint>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<f32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<f32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<f64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<f64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i128> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i16> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i8> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<i8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<isize> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: isize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<isize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: isize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u128> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u128) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u16> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u16) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u32> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u32) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u64> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u8> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<u8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<usize> for &ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: usize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub<usize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: usize) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> Sub for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

type Output = ModType<C>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ModType<C>) -> ModType<C>

Performs the - operation. Read more
Source§

impl<C> SubAssign<&BigInt> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &BigInt)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&BigUint> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &BigUint)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&ModType<C>> for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &Ratio<BigInt>)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &Ratio<BigUint>)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&f32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &f32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&f64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &f64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&i128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &i128)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&i16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &i16)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&i32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &i32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&i64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &i64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&i8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &i8)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&isize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &isize)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&u128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &u128)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&u16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &u16)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&u32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &u32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&u64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &u64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&u8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &u8)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<&usize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: &usize)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<BigInt> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: BigInt)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<BigUint> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: BigUint)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<Ratio<BigInt>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: Ratio<BigInt>)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<Ratio<BigUint>> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: Ratio<BigUint>)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<f32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: f32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<f64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, AssumePrimeModulus = True, PartialMultiplication = True, PartialDivision = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: f64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<i128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: i128)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<i16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: i16)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<i32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<i64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: i64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<i8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: i8)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<isize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: isize)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<u128> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<u16> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: u16)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<u32> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: u32)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<u64> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<u8> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: u8)

Performs the -= operation. Read more
Source§

impl<C> SubAssign<usize> for ModType<C>
where C: Cartridge<PartialSubtraction = True, FlexibleRhs = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: usize)

Performs the -= operation. Read more
Source§

impl<C> SubAssign for ModType<C>
where C: Cartridge<PartialSubtraction = True> + Cartridge,

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl<C: Cartridge> Copy for ModType<C>

Source§

impl<C> Eq for ModType<C>
where C: Cartridge<Equality = True> + Cartridge,

Auto Trait Implementations§

§

impl<C> Freeze for ModType<C>
where <C as Cartridge>::Target: Freeze,

§

impl<C> RefUnwindSafe for ModType<C>

§

impl<C> Send for ModType<C>

§

impl<C> Sync for ModType<C>

§

impl<C> Unpin for ModType<C>
where <C as Cartridge>::Target: Unpin,

§

impl<C> UnwindSafe for ModType<C>
where <C as Cartridge>::Target: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, Rhs> NumAssignOps<Rhs> for T
where T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

Source§

impl<T, Base> RefNum<Base> for T
where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,