Struct bellman::groth16::Parameters [] [src]

pub struct Parameters<E: Engine> {
    pub vk: VerifyingKey<E>,
    pub h: Arc<Vec<E::G1Affine>>,
    pub l: Arc<Vec<E::G1Affine>>,
    pub a: Arc<Vec<E::G1Affine>>,
    pub b_g1: Arc<Vec<E::G1Affine>>,
    pub b_g2: Arc<Vec<E::G2Affine>>,
}

Fields

Methods

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

[src]

[src]

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'a, E: Engine> ParameterSource<E> for &'a Parameters<E>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Auto Trait Implementations

impl<E> Send for Parameters<E> where
    <E as Engine>::G1Affine: Send + Sync,
    <E as Engine>::G2Affine: Send + Sync

impl<E> Sync for Parameters<E> where
    <E as Engine>::G1Affine: Send + Sync,
    <E as Engine>::G2Affine: Send + Sync