Struct ark_ec::models::bls12::g2::G2Prepared[][src]

pub struct G2Prepared<P: Bls12Parameters> {
    pub ell_coeffs: Vec<(Fp2<P::Fp2Params>, Fp2<P::Fp2Params>, Fp2<P::Fp2Params>)>,
    pub infinity: bool,
}

Fields

ell_coeffs: Vec<(Fp2<P::Fp2Params>, Fp2<P::Fp2Params>, Fp2<P::Fp2Params>)>infinity: bool

Implementations

impl<P: Bls12Parameters> G2Prepared<P>[src]

pub fn is_zero(&self) -> bool[src]

Trait Implementations

impl<P: Bls12Parameters> Clone for G2Prepared<P> where
    P: Bls12Parameters
[src]

impl<P: Bls12Parameters> Debug for G2Prepared<P> where
    P: Bls12Parameters
[src]

impl<P: Bls12Parameters> Default for G2Prepared<P>[src]

impl<P: Bls12Parameters> Eq for G2Prepared<P> where
    P: Bls12Parameters
[src]

impl<P: Bls12Parameters> From<GroupAffine<<P as Bls12Parameters>::G2Parameters>> for G2Prepared<P>[src]

impl<P: Bls12Parameters> PartialEq<G2Prepared<P>> for G2Prepared<P> where
    P: Bls12Parameters
[src]

impl<P: Bls12Parameters> ToBytes for G2Prepared<P>[src]

Auto Trait Implementations

impl<P> Send for G2Prepared<P>

impl<P> Sync for G2Prepared<P>

impl<P> Unpin for G2Prepared<P> where
    <P as Bls12Parameters>::Fp: Unpin,
    <P as Bls12Parameters>::Fp2Params: 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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,