Struct ark_ec::models::bn::Bn[][src]

pub struct Bn<P: BnParameters>(_);

Trait Implementations

impl<P: BnParameters> Clone for Bn<P>[src]

impl<P: BnParameters> Copy for Bn<P>[src]

impl<P: BnParameters> Debug for Bn<P>[src]

impl<P: BnParameters> Eq for Bn<P>[src]

impl<P: BnParameters> Hash for Bn<P>[src]

impl<P: BnParameters> PairingEngine for Bn<P>[src]

type Fr = <P::G1Parameters as ModelParameters>::ScalarField

This is the scalar field of the G1/G2 groups.

type G1Projective = G1Projective<P>

The projective representation of an element in G1.

type G1Affine = G1Affine<P>

The affine representation of an element in G1.

type G1Prepared = G1Prepared<P>

A G1 element that has been preprocessed for use in a pairing.

type G2Projective = G2Projective<P>

The projective representation of an element in G2.

type G2Affine = G2Affine<P>

The affine representation of an element in G2.

type G2Prepared = G2Prepared<P>

A G2 element that has been preprocessed for use in a pairing.

type Fq = P::Fp

The base field that hosts G1.

type Fqe = Fp2<P::Fp2Params>

The extension field that hosts G2.

type Fqk = Fp12<P::Fp12Params>

The extension field that hosts the target group of the pairing.

impl<P: BnParameters> PartialEq<Bn<P>> for Bn<P>[src]

Auto Trait Implementations

impl<P> Send for Bn<P>

impl<P> Sync for Bn<P>

impl<P> Unpin for Bn<P>

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>,