[][src]Struct pairing_plus::bls12_381::G2Affine

pub struct G2Affine { /* fields omitted */ }

Trait Implementations

impl Clone for G2Affine[src]

impl Copy for G2Affine[src]

impl CurveAffine for G2Affine[src]

type Engine = Bls12

type Scalar = Fr

type Base = Fq2

type Prepared = G2Prepared

type Projective = G2

type Uncompressed = G2Uncompressed

type Compressed = G2Compressed

type Pair = G1Affine

type PairingResult = Fq12

impl Debug for G2Affine[src]

impl Default for G2Affine[src]

impl Display for G2Affine[src]

impl Eq for G2Affine[src]

impl From<G2> for G2Affine[src]

impl From<G2Affine> for G2[src]

impl PartialEq<G2Affine> for G2Affine[src]

impl SerDes for G2Affine[src]

fn serialize<W: Write>(&self, writer: &mut W, compressed: bool) -> Result<()>[src]

Convert a G2 point to a blob.

fn deserialize<R: Read>(reader: &mut R, compressed: bool) -> Result<Self>[src]

Deserialize a G2 element from a blob. Returns an error if deserialization fails.

impl StructuralEq for G2Affine[src]

impl StructuralPartialEq for G2Affine[src]

impl SubgroupCheck for G2Affine[src]

impl Zeroize for G2Affine[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]