Struct ark_marlin::IndexVerifierKey[][src]

pub struct IndexVerifierKey<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> {
    pub index_info: IndexInfo<F>,
    pub index_comms: Vec<PC::Commitment>,
    pub verifier_key: PC::VerifierKey,
}

Verification key for a specific index (i.e., R1CS matrices).

Fields

index_info: IndexInfo<F>

Stores information about the size of the index, as well as its field of definition.

index_comms: Vec<PC::Commitment>

Commitments to the indexed polynomials.

verifier_key: PC::VerifierKey

The verifier key for this index, trimmed from the universal SRS.

Implementations

impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> IndexVerifierKey<F, PC>[src]

pub fn iter(&self) -> impl Iterator<Item = &PC::Commitment>[src]

Iterate over the commitments to indexed polynomials in self.

Trait Implementations

impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> CanonicalDeserialize for IndexVerifierKey<F, PC>[src]

impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> CanonicalSerialize for IndexVerifierKey<F, PC>[src]

impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> Clone for IndexVerifierKey<F, PC>[src]

impl<F: PrimeField, PC: PolynomialCommitment<F, DensePolynomial<F>>> ToBytes for IndexVerifierKey<F, PC>[src]

Auto Trait Implementations

impl<F, PC> RefUnwindSafe for IndexVerifierKey<F, PC> where
    F: RefUnwindSafe,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::Commitment: RefUnwindSafe,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::VerifierKey: RefUnwindSafe

impl<F, PC> Send for IndexVerifierKey<F, PC> where
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::Commitment: Send,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::VerifierKey: Send

impl<F, PC> Sync for IndexVerifierKey<F, PC> where
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::Commitment: Sync,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::VerifierKey: Sync

impl<F, PC> Unpin for IndexVerifierKey<F, PC> where
    F: Unpin,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::Commitment: Unpin,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::VerifierKey: Unpin

impl<F, PC> UnwindSafe for IndexVerifierKey<F, PC> where
    F: UnwindSafe,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::Commitment: UnwindSafe,
    <PC as PolynomialCommitment<F, DensePolynomial<F>>>::VerifierKey: UnwindSafe

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> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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