[][src]Struct pairing_plus::bls12_381::G1

pub struct G1 { /* fields omitted */ }

Trait Implementations

impl Clone for G1[src]

impl Copy for G1[src]

impl CurveProjective for G1[src]

type Engine = Bls12

type Scalar = Fr

type Base = Fq

type Affine = G1Affine

impl Debug for G1[src]

impl Default for G1[src]

impl Display for G1[src]

impl Eq for G1[src]

impl From<G1> for G1Affine[src]

impl From<G1Affine> for G1[src]

impl PartialEq<G1> for G1[src]

impl SerDes for G1[src]

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

Convert a G1 point to a blob.

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

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

impl StructuralEq for G1[src]

impl Zeroize for G1[src]

Auto Trait Implementations

impl RefUnwindSafe for G1

impl Send for G1

impl Sync for G1

impl Unpin for G1

impl UnwindSafe for G1

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<PtT, X> HashToCurve<X> for PtT where
    PtT: ClearH + IsogenyMap + OSSWUMap,
    X: ExpandMsg,
    <PtT as CurveProjective>::Base: FromRO
[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]