[][src]Struct bellman_ce::groth16::VerifyingKey

pub struct VerifyingKey<E: Engine> {
    pub alpha_g1: E::G1Affine,
    pub beta_g1: E::G1Affine,
    pub beta_g2: E::G2Affine,
    pub gamma_g2: E::G2Affine,
    pub delta_g1: E::G1Affine,
    pub delta_g2: E::G2Affine,
    pub ic: Vec<E::G1Affine>,
}

Fields

alpha_g1: E::G1Affinebeta_g1: E::G1Affinebeta_g2: E::G2Affinegamma_g2: E::G2Affinedelta_g1: E::G1Affinedelta_g2: E::G2Affineic: Vec<E::G1Affine>

Methods

impl<E: Engine> VerifyingKey<E>[src]

pub fn write<W: Write>(&self, writer: W) -> Result<()>[src]

pub fn read<R: Read>(reader: R) -> Result<Self>[src]

Trait Implementations

impl<E: Engine> PartialEq<VerifyingKey<E>> for VerifyingKey<E>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<E: Clone + Engine> Clone for VerifyingKey<E> where
    E::G1Affine: Clone,
    E::G1Affine: Clone,
    E::G2Affine: Clone,
    E::G2Affine: Clone,
    E::G1Affine: Clone,
    E::G2Affine: Clone,
    E::G1Affine: Clone
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<E> Unpin for VerifyingKey<E> where
    <E as Engine>::G1Affine: Unpin,
    <E as Engine>::G2Affine: Unpin

impl<E> Sync for VerifyingKey<E> where
    <E as Engine>::G1Affine: Sync,
    <E as Engine>::G2Affine: Sync

impl<E> Send for VerifyingKey<E> where
    <E as Engine>::G1Affine: Send,
    <E as Engine>::G2Affine: Send

impl<E> RefUnwindSafe for VerifyingKey<E> where
    <E as Engine>::G1Affine: RefUnwindSafe,
    <E as Engine>::G2Affine: RefUnwindSafe

impl<E> UnwindSafe for VerifyingKey<E> where
    <E as Engine>::G1Affine: UnwindSafe,
    <E as Engine>::G2Affine: UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]