Struct snarkvm_polycommit::PCCheckRandomDataVar
source · [−]pub struct PCCheckRandomDataVar<TargetField: PrimeField, BaseField: PrimeField> {
pub opening_challenges: Vec<NonNativeFieldVar<TargetField, BaseField>>,
pub opening_challenges_bits: Vec<Vec<Boolean>>,
pub batching_rands: Vec<NonNativeFieldVar<TargetField, BaseField>>,
pub batching_rands_bits: Vec<Vec<Boolean>>,
}
Expand description
A collection of random data used in the polynomial commitment checking.
Fields
opening_challenges: Vec<NonNativeFieldVar<TargetField, BaseField>>
Opening challenges. The prover and the verifier MUST use the same opening challenges.
opening_challenges_bits: Vec<Vec<Boolean>>
Bit representations of the opening challenges.
batching_rands: Vec<NonNativeFieldVar<TargetField, BaseField>>
Batching random numbers. The verifier can choose these numbers freely, as long as they are random.
batching_rands_bits: Vec<Vec<Boolean>>
Bit representations of the batching random numbers.
Trait Implementations
sourceimpl<TargetField: Clone + PrimeField, BaseField: Clone + PrimeField> Clone for PCCheckRandomDataVar<TargetField, BaseField>
impl<TargetField: Clone + PrimeField, BaseField: Clone + PrimeField> Clone for PCCheckRandomDataVar<TargetField, BaseField>
sourcefn clone(&self) -> PCCheckRandomDataVar<TargetField, BaseField>
fn clone(&self) -> PCCheckRandomDataVar<TargetField, BaseField>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<TargetField: Debug + PrimeField, BaseField: Debug + PrimeField> Debug for PCCheckRandomDataVar<TargetField, BaseField>
impl<TargetField: Debug + PrimeField, BaseField: Debug + PrimeField> Debug for PCCheckRandomDataVar<TargetField, BaseField>
Auto Trait Implementations
impl<TargetField, BaseField> RefUnwindSafe for PCCheckRandomDataVar<TargetField, BaseField> where
BaseField: RefUnwindSafe,
TargetField: RefUnwindSafe,
impl<TargetField, BaseField> Send for PCCheckRandomDataVar<TargetField, BaseField>
impl<TargetField, BaseField> Sync for PCCheckRandomDataVar<TargetField, BaseField>
impl<TargetField, BaseField> Unpin for PCCheckRandomDataVar<TargetField, BaseField> where
BaseField: Unpin,
TargetField: Unpin,
impl<TargetField, BaseField> UnwindSafe for PCCheckRandomDataVar<TargetField, BaseField> where
BaseField: UnwindSafe,
TargetField: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more