Struct ark_ff::fields::models::Fp768[][src]

pub struct Fp768<P>(pub BigInteger768, _);

Implementations

impl<P> Fp768<P>[src]

pub const fn new(element: BigInteger768) -> Self[src]

Trait Implementations

impl<'a, P: Fp768Parameters> Add<&'a Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: Fp768Parameters> Add<&'a mut Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<P: Fp768Parameters> Add<Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: Fp768Parameters> AddAssign<&'a Fp768<P>> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> AddAssign<&'a mut Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> AddAssign<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> CanonicalDeserialize for Fp768<P>[src]

impl<P: Fp768Parameters> CanonicalDeserializeWithFlags for Fp768<P>[src]

impl<P: Fp768Parameters> CanonicalSerialize for Fp768<P>[src]

impl<P: Fp768Parameters> CanonicalSerializeWithFlags for Fp768<P>[src]

impl<P> Clone for Fp768<P>[src]

impl<P> Copy for Fp768<P>[src]

impl<P> Debug for Fp768<P>[src]

impl<P> Default for Fp768<P>[src]

impl<P: Fp768Parameters> Display for Fp768<P>[src]

impl<'a, P: Fp768Parameters> Div<&'a Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: Fp768Parameters> Div<&'a mut Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<P: Fp768Parameters> Div<Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: Fp768Parameters> DivAssign<&'a Fp768<P>> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> DivAssign<&'a mut Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> DivAssign<Fp768<P>> for Fp768<P>[src]

impl<P> Eq for Fp768<P>[src]

impl<P: Fp768Parameters> FftField for Fp768<P>[src]

type FftParams = P

impl<P: Fp768Parameters> Field for Fp768<P>[src]

type BasePrimeField = Self

impl<P: Fp768Parameters> From<BigInteger768> for Fp768<P>[src]

fn from(int: BigInteger768) -> Self[src]

Converts Self::BigInteger into Self

Panics

This method panics if int is larger than P::MODULUS.

impl<P: Fp768Parameters> From<bool> for Fp768<P>[src]

impl<P: Fp768Parameters> From<u128> for Fp768<P>[src]

impl<P: Fp768Parameters> From<u16> for Fp768<P>[src]

impl<P: Fp768Parameters> From<u32> for Fp768<P>[src]

impl<P: Fp768Parameters> From<u64> for Fp768<P>[src]

impl<P: Fp768Parameters> From<u8> for Fp768<P>[src]

impl<P: Fp768Parameters> FromBytes for Fp768<P>[src]

impl<P: Fp768Parameters> FromStr for Fp768<P>[src]

type Err = ()

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>[src]

Interpret a string of numbers as a (congruent) prime field element. Does not accept unnecessary leading zeroes or a blank string.

impl<P> Hash for Fp768<P>[src]

impl<P: Fp768Parameters> Into<BigInteger768> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> Mul<&'a Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: Fp768Parameters> Mul<&'a mut Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<P: Fp768Parameters> Mul<Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: Fp768Parameters> MulAssign<&'a Fp768<P>> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> MulAssign<&'a mut Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> MulAssign<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> Neg for Fp768<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: Fp768Parameters> One for Fp768<P>[src]

impl<P: Fp768Parameters> Ord for Fp768<P>[src]

impl<P> PartialEq<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> PartialOrd<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> PrimeField for Fp768<P>[src]

type Params = P

type BigInt = BigInteger768

impl<'a, P: Fp768Parameters> Product<&'a Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> Product<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> SquareRootField for Fp768<P>[src]

impl<'a, P: Fp768Parameters> Sub<&'a Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: Fp768Parameters> Sub<&'a mut Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: Fp768Parameters> Sub<Fp768<P>> for Fp768<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: Fp768Parameters> SubAssign<&'a Fp768<P>> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> SubAssign<&'a mut Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> SubAssign<Fp768<P>> for Fp768<P>[src]

impl<'a, P: Fp768Parameters> Sum<&'a Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> Sum<Fp768<P>> for Fp768<P>[src]

impl<P: Fp768Parameters> ToBytes for Fp768<P>[src]

impl<P: Fp768Parameters> Zero for Fp768<P>[src]

impl<P: Fp768Parameters> Zeroize for Fp768<P>[src]

Auto Trait Implementations

impl<P> Send for Fp768<P> where
    P: Send

impl<P> Sync for Fp768<P> where
    P: Sync

impl<P> Unpin for Fp768<P> where
    P: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UniformRand for T where
    Standard: Distribution<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,