Struct ark_poly_commit::ipa_pc::Randomness[][src]

pub struct Randomness<G: AffineCurve> {
    pub rand: G::ScalarField,
    pub shifted_rand: Option<G::ScalarField>,
}

Randomness hides the polynomial inside a commitment and is outputted by InnerProductArg::commit.

Fields

rand: G::ScalarField

Randomness is some scalar field element.

shifted_rand: Option<G::ScalarField>

Randomness applied to the shifted commitment is some scalar field element.

Trait Implementations

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

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

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

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

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

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

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

impl<G: AffineCurve> PCRandomness for Randomness<G>[src]

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

Auto Trait Implementations

impl<G> RefUnwindSafe for Randomness<G> where
    <G as AffineCurve>::ScalarField: RefUnwindSafe

impl<G> Send for Randomness<G>

impl<G> Sync for Randomness<G>

impl<G> Unpin for Randomness<G> where
    <G as AffineCurve>::ScalarField: Unpin

impl<G> UnwindSafe for Randomness<G> where
    <G as AffineCurve>::ScalarField: 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>,