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

pub struct Fp384<P>(pub BigInteger384, _);

Implementations

impl<P> Fp384<P>[src]

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

Trait Implementations

impl<'a, P: Fp384Parameters> Add<&'a Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: Fp384Parameters> Add<&'a mut Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<P: Fp384Parameters> Add<Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: Fp384Parameters> AddAssign<&'a Fp384<P>> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> AddAssign<&'a mut Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> AddAssign<Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> CanonicalDeserialize for Fp384<P>[src]

impl<P: Fp384Parameters> CanonicalDeserializeWithFlags for Fp384<P>[src]

impl<P: Fp384Parameters> CanonicalSerialize for Fp384<P>[src]

impl<P: Fp384Parameters> CanonicalSerializeWithFlags for Fp384<P>[src]

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

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

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

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

impl<P: Fp384Parameters> Display for Fp384<P>[src]

impl<'a, P: Fp384Parameters> Div<&'a Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: Fp384Parameters> Div<&'a mut Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<P: Fp384Parameters> Div<Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: Fp384Parameters> DivAssign<&'a Fp384<P>> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> DivAssign<&'a mut Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> DivAssign<Fp384<P>> for Fp384<P>[src]

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

impl<P: Fp384Parameters> FftField for Fp384<P>[src]

type FftParams = P

impl<P: Fp384Parameters> Field for Fp384<P>[src]

type BasePrimeField = Self

impl<P: Fp384Parameters> From<BigInteger384> for Fp384<P>[src]

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

Converts Self::BigInteger into Self

Panics

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

impl<P: Fp384Parameters> From<bool> for Fp384<P>[src]

impl<P: Fp384Parameters> From<u128> for Fp384<P>[src]

impl<P: Fp384Parameters> From<u16> for Fp384<P>[src]

impl<P: Fp384Parameters> From<u32> for Fp384<P>[src]

impl<P: Fp384Parameters> From<u64> for Fp384<P>[src]

impl<P: Fp384Parameters> From<u8> for Fp384<P>[src]

impl<P: Fp384Parameters> FromBytes for Fp384<P>[src]

impl<P: Fp384Parameters> FromStr for Fp384<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 Fp384<P>[src]

impl<P: Fp384Parameters> Into<BigInteger384> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> Mul<&'a Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: Fp384Parameters> Mul<&'a mut Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<P: Fp384Parameters> Mul<Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: Fp384Parameters> MulAssign<&'a Fp384<P>> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> MulAssign<&'a mut Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> MulAssign<Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> Neg for Fp384<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: Fp384Parameters> One for Fp384<P>[src]

impl<P: Fp384Parameters> Ord for Fp384<P>[src]

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

impl<P: Fp384Parameters> PartialOrd<Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> PrimeField for Fp384<P>[src]

type Params = P

type BigInt = BigInteger384

impl<'a, P: Fp384Parameters> Product<&'a Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> Product<Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> SquareRootField for Fp384<P>[src]

impl<'a, P: Fp384Parameters> Sub<&'a Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: Fp384Parameters> Sub<&'a mut Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: Fp384Parameters> Sub<Fp384<P>> for Fp384<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: Fp384Parameters> SubAssign<&'a Fp384<P>> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> SubAssign<&'a mut Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> SubAssign<Fp384<P>> for Fp384<P>[src]

impl<'a, P: Fp384Parameters> Sum<&'a Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> Sum<Fp384<P>> for Fp384<P>[src]

impl<P: Fp384Parameters> ToBytes for Fp384<P>[src]

impl<P: Fp384Parameters> Zero for Fp384<P>[src]

impl<P: Fp384Parameters> Zeroize for Fp384<P>[src]

Auto Trait Implementations

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

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

impl<P> Unpin for Fp384<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>,