Struct ark_poly_commit::ipa_pc::Commitment[][src]

pub struct Commitment<G: AffineCurve> {
    pub comm: G,
    pub shifted_comm: Option<G>,
}

Commitment to a polynomial that optionally enforces a degree bound.

Fields

comm: G

A Pedersen commitment to the polynomial.

shifted_comm: Option<G>

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

Trait Implementations

impl<G: AffineCurve> CanonicalDeserialize for Commitment<G>[src]

impl<G: AffineCurve> CanonicalSerialize for Commitment<G>[src]

impl<G: AffineCurve> Clone for Commitment<G>[src]

impl<G: AffineCurve> Copy for Commitment<G>[src]

impl<G: AffineCurve> Debug for Commitment<G>[src]

impl<G: AffineCurve> Default for Commitment<G>[src]

impl<G: AffineCurve> Eq for Commitment<G>[src]

impl<G: AffineCurve> Hash for Commitment<G>[src]

impl<G: AffineCurve> PCCommitment for Commitment<G>[src]

impl<G: AffineCurve> PCPreparedCommitment<Commitment<G>> for PreparedCommitment<G>[src]

fn prepare(vk: &Commitment<G>) -> Self[src]

prepare PreparedCommitment from Commitment

impl<G: AffineCurve> PartialEq<Commitment<G>> for Commitment<G>[src]

impl<G: AffineCurve> ToBytes for Commitment<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for Commitment<G> where
    G: RefUnwindSafe

impl<G> Send for Commitment<G>

impl<G> Sync for Commitment<G>

impl<G> Unpin for Commitment<G> where
    G: Unpin

impl<G> UnwindSafe for Commitment<G> where
    G: 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>,