pub struct Commitments<E: PairingEngine> {
    pub witness_commitments: Vec<WitnessCommitments<E>>,
    pub mask_poly: Option<Commitment<E>>,
    pub g_1: Commitment<E>,
    pub h_1: Commitment<E>,
    pub g_a: Commitment<E>,
    pub g_b: Commitment<E>,
    pub g_c: Commitment<E>,
    pub h_2: Commitment<E>,
}

Fields

witness_commitments: Vec<WitnessCommitments<E>>mask_poly: Option<Commitment<E>>

Commitment to the masking polynomial.

g_1: Commitment<E>

Commitment to the g_1 polynomial.

h_1: Commitment<E>

Commitment to the h_1 polynomial.

g_a: Commitment<E>

Commitment to the g_a polynomial.

g_b: Commitment<E>

Commitment to the g_b polynomial.

g_c: Commitment<E>

Commitment to the g_c polynomial.

h_2: Commitment<E>

Commitment to the h_2 polynomial.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.