Struct algebraics::mod_int::Mod3
source · [−]pub struct Mod3;
Trait Implementations
sourceimpl Modulus<BigInt> for Mod3
impl Modulus<BigInt> for Mod3
fn to_modulus(&self) -> Cow<'_, BigInt>
fn into_modulus(self) -> BigInt
sourceimpl Modulus<BigUint> for Mod3
impl Modulus<BigUint> for Mod3
fn to_modulus(&self) -> Cow<'_, BigUint>
fn into_modulus(self) -> BigUint
sourceimpl Modulus<i128> for Mod3
impl Modulus<i128> for Mod3
fn to_modulus(&self) -> Cow<'_, i128>
fn into_modulus(self) -> i128
sourceimpl Modulus<i16> for Mod3
impl Modulus<i16> for Mod3
fn to_modulus(&self) -> Cow<'_, i16>
fn into_modulus(self) -> i16
sourceimpl Modulus<i32> for Mod3
impl Modulus<i32> for Mod3
fn to_modulus(&self) -> Cow<'_, i32>
fn into_modulus(self) -> i32
sourceimpl Modulus<i64> for Mod3
impl Modulus<i64> for Mod3
fn to_modulus(&self) -> Cow<'_, i64>
fn into_modulus(self) -> i64
sourceimpl Modulus<i8> for Mod3
impl Modulus<i8> for Mod3
fn to_modulus(&self) -> Cow<'_, i8>
fn into_modulus(self) -> i8
sourceimpl Modulus<isize> for Mod3
impl Modulus<isize> for Mod3
fn to_modulus(&self) -> Cow<'_, isize>
fn into_modulus(self) -> isize
sourceimpl Modulus<u128> for Mod3
impl Modulus<u128> for Mod3
fn to_modulus(&self) -> Cow<'_, u128>
fn into_modulus(self) -> u128
sourceimpl Modulus<u16> for Mod3
impl Modulus<u16> for Mod3
fn to_modulus(&self) -> Cow<'_, u16>
fn into_modulus(self) -> u16
sourceimpl Modulus<u32> for Mod3
impl Modulus<u32> for Mod3
fn to_modulus(&self) -> Cow<'_, u32>
fn into_modulus(self) -> u32
sourceimpl Modulus<u64> for Mod3
impl Modulus<u64> for Mod3
fn to_modulus(&self) -> Cow<'_, u64>
fn into_modulus(self) -> u64
sourceimpl Modulus<u8> for Mod3
impl Modulus<u8> for Mod3
fn to_modulus(&self) -> Cow<'_, u8>
fn into_modulus(self) -> u8
sourceimpl Modulus<usize> for Mod3
impl Modulus<usize> for Mod3
fn to_modulus(&self) -> Cow<'_, usize>
fn into_modulus(self) -> usize
sourceimpl Ord for Mod3
impl Ord for Mod3
sourceimpl PartialOrd<Mod3> for Mod3
impl PartialOrd<Mod3> for Mod3
sourcefn partial_cmp(&self, other: &Mod3) -> Option<Ordering>
fn partial_cmp(&self, other: &Mod3) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl PrimePowerModulus<BigInt> for Mod3
impl PrimePowerModulus<BigInt> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<BigInt>
sourceimpl PrimePowerModulus<BigUint> for Mod3
impl PrimePowerModulus<BigUint> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<BigUint>
sourceimpl PrimePowerModulus<i128> for Mod3
impl PrimePowerModulus<i128> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<i128>
sourceimpl PrimePowerModulus<i16> for Mod3
impl PrimePowerModulus<i16> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<i16>
sourceimpl PrimePowerModulus<i32> for Mod3
impl PrimePowerModulus<i32> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<i32>
sourceimpl PrimePowerModulus<i64> for Mod3
impl PrimePowerModulus<i64> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<i64>
sourceimpl PrimePowerModulus<i8> for Mod3
impl PrimePowerModulus<i8> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<i8>
sourceimpl PrimePowerModulus<isize> for Mod3
impl PrimePowerModulus<isize> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<isize>
sourceimpl PrimePowerModulus<u128> for Mod3
impl PrimePowerModulus<u128> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<u128>
sourceimpl PrimePowerModulus<u16> for Mod3
impl PrimePowerModulus<u16> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<u16>
sourceimpl PrimePowerModulus<u32> for Mod3
impl PrimePowerModulus<u32> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<u32>
sourceimpl PrimePowerModulus<u64> for Mod3
impl PrimePowerModulus<u64> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<u64>
sourceimpl PrimePowerModulus<u8> for Mod3
impl PrimePowerModulus<u8> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<u8>
sourceimpl PrimePowerModulus<usize> for Mod3
impl PrimePowerModulus<usize> for Mod3
fn base_and_exponent(&self) -> BaseAndExponent<usize>
sourceimpl StaticModulus<BigInt> for Mod3
impl StaticModulus<BigInt> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<BigUint> for Mod3
impl StaticModulus<BigUint> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<i128> for Mod3
impl StaticModulus<i128> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<i16> for Mod3
impl StaticModulus<i16> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<i32> for Mod3
impl StaticModulus<i32> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<i64> for Mod3
impl StaticModulus<i64> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<i8> for Mod3
impl StaticModulus<i8> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<isize> for Mod3
impl StaticModulus<isize> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<u128> for Mod3
impl StaticModulus<u128> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<u16> for Mod3
impl StaticModulus<u16> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<u32> for Mod3
impl StaticModulus<u32> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<u64> for Mod3
impl StaticModulus<u64> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<u8> for Mod3
impl StaticModulus<u8> for Mod3
fn get_modulus() -> Value
sourceimpl StaticModulus<usize> for Mod3
impl StaticModulus<usize> for Mod3
fn get_modulus() -> Value
impl Copy for Mod3
impl Eq for Mod3
impl OddModulus<BigInt> for Mod3
impl OddModulus<BigUint> for Mod3
impl OddModulus<i128> for Mod3
impl OddModulus<i16> for Mod3
impl OddModulus<i32> for Mod3
impl OddModulus<i64> for Mod3
impl OddModulus<i8> for Mod3
impl OddModulus<isize> for Mod3
impl OddModulus<u128> for Mod3
impl OddModulus<u16> for Mod3
impl OddModulus<u32> for Mod3
impl OddModulus<u64> for Mod3
impl OddModulus<u8> for Mod3
impl OddModulus<usize> for Mod3
impl PrimeModulus<BigInt> for Mod3
impl PrimeModulus<BigUint> for Mod3
impl PrimeModulus<i128> for Mod3
impl PrimeModulus<i16> for Mod3
impl PrimeModulus<i32> for Mod3
impl PrimeModulus<i64> for Mod3
impl PrimeModulus<i8> for Mod3
impl PrimeModulus<isize> for Mod3
impl PrimeModulus<u128> for Mod3
impl PrimeModulus<u16> for Mod3
impl PrimeModulus<u32> for Mod3
impl PrimeModulus<u64> for Mod3
impl PrimeModulus<u8> for Mod3
impl PrimeModulus<usize> for Mod3
impl StructuralEq for Mod3
impl StructuralPartialEq for Mod3
Auto Trait Implementations
impl RefUnwindSafe for Mod3
impl Send for Mod3
impl Sync for Mod3
impl Unpin for Mod3
impl UnwindSafe for Mod3
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more