Struct ark_poly_commit::marlin::marlin_pc::Commitment[][src]

pub struct Commitment<E: PairingEngine> {
    pub comm: Commitment<E>,
    pub shifted_comm: Option<Commitment<E>>,
}

Commitment to a polynomial that optionally enforces a degree bound.

Fields

comm: Commitment<E>

A KZG10 commitment to the polynomial.

shifted_comm: Option<Commitment<E>>

A KZG10 commitment to the shifted polynomial. This is none if the committed polynomial does not enforce a strict degree bound.

Trait Implementations

impl<E: PairingEngine> CanonicalDeserialize for Commitment<E>[src]

impl<E: PairingEngine> CanonicalSerialize for Commitment<E>[src]

impl<E: PairingEngine> Clone for Commitment<E>[src]

impl<E: PairingEngine> Copy for Commitment<E>[src]

impl<E: PairingEngine> Debug for Commitment<E>[src]

impl<E: PairingEngine> Default for Commitment<E>[src]

impl<E: PairingEngine> Eq for Commitment<E>[src]

impl<E: PairingEngine> Hash for Commitment<E>[src]

impl<E: PairingEngine> PCCommitment for Commitment<E>[src]

impl<E: PairingEngine> PCPreparedCommitment<Commitment<E>> for PreparedCommitment<E>[src]

fn prepare(comm: &Commitment<E>) -> Self[src]

Prepare commitment to a polynomial that optionally enforces a degree bound.

impl<E: PairingEngine> PartialEq<Commitment<E>> for Commitment<E>[src]

impl<E: PairingEngine> ToBytes for Commitment<E>[src]

impl<E: PairingEngine> ToConstraintField<<<E as PairingEngine>::Fq as Field>::BasePrimeField> for Commitment<E> where
    E::G1Affine: ToConstraintField<<E::Fq as Field>::BasePrimeField>, 
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for Commitment<E> where
    <E as PairingEngine>::G1Affine: RefUnwindSafe

impl<E> Send for Commitment<E>

impl<E> Sync for Commitment<E>

impl<E> Unpin for Commitment<E> where
    <E as PairingEngine>::G1Affine: Unpin

impl<E> UnwindSafe for Commitment<E> where
    <E as PairingEngine>::G1Affine: 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> CallHasher for T where
    T: Hash + ?Sized

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