Struct ark_poly_commit::multilinear_pc::data_structures::Commitment[][src]

pub struct Commitment<E: PairingEngine> {
    pub nv: usize,
    pub g_product: E::G1Affine,
}

commitment

Fields

nv: usize

number of variables

g_product: E::G1Affine

product of g as described by the vRAM paper

Trait Implementations

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

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

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

impl<E: Debug + PairingEngine> Debug for Commitment<E> where
    E::G1Affine: Debug
[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> 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>,