pub struct ZipPlusHint<R> {
pub cw_matrices: Vec<DenseRowMatrix<R>>,
pub merkle_tree: MerkleTree,
}Expand description
Full data of zip commitment to a multilinear polynomial, including encoded rows and Merkle tree, kept by the prover for the testing phase.
Fields§
§cw_matrices: Vec<DenseRowMatrix<R>>The encoded rows of the polynomial matrix representation, referred to as “u-hat” in the Zinc paper
merkle_tree: MerkleTreeMerkle trees of entire matrix
Implementations§
Source§impl<R> ZipPlusHint<R>
impl<R> ZipPlusHint<R>
pub fn new( cw_matrices: Vec<DenseRowMatrix<R>>, merkle_tree: MerkleTree, ) -> ZipPlusHint<R>
Trait Implementations§
Source§impl<R: Clone> Clone for ZipPlusHint<R>
impl<R: Clone> Clone for ZipPlusHint<R>
Source§fn clone(&self) -> ZipPlusHint<R>
fn clone(&self) -> ZipPlusHint<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug> Debug for ZipPlusHint<R>
impl<R: Debug> Debug for ZipPlusHint<R>
Source§impl<R: Default> Default for ZipPlusHint<R>
impl<R: Default> Default for ZipPlusHint<R>
Source§fn default() -> ZipPlusHint<R>
fn default() -> ZipPlusHint<R>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<R> Freeze for ZipPlusHint<R>
impl<R> RefUnwindSafe for ZipPlusHint<R>where
R: RefUnwindSafe,
impl<R> Send for ZipPlusHint<R>where
R: Send,
impl<R> Sync for ZipPlusHint<R>where
R: Sync,
impl<R> Unpin for ZipPlusHint<R>where
R: Unpin,
impl<R> UnsafeUnpin for ZipPlusHint<R>
impl<R> UnwindSafe for ZipPlusHint<R>where
R: UnwindSafe,
Blanket Implementations§
§impl<T> AsMaybeUninit for T
impl<T> AsMaybeUninit for T
§type Uninit = MaybeUninit<T>
type Uninit = MaybeUninit<T>
This type in its maybe-uninitialized form.
§fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
fn as_ref_uninit(&self) -> &<T as AsMaybeUninit>::Uninit
Converts a
&self to its maybe-initialized equivalent.§unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
unsafe fn as_mut_uninit(&mut self) -> &mut <T as AsMaybeUninit>::Uninit
Converts a
&mut T to its maybe-initialized equivalent. Read more§unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
unsafe fn raw_as_uninit<'a>(raw: *const T) -> &'a <T as AsMaybeUninit>::Uninit
Converts a raw pointer to a reference to maybe-uninit. Read more
§unsafe fn raw_mut_as_uninit<'a>(
raw: *mut T,
) -> &'a mut <T as AsMaybeUninit>::Uninit
unsafe fn raw_mut_as_uninit<'a>( raw: *mut T, ) -> &'a mut <T as AsMaybeUninit>::Uninit
Converts a raw mutable pointer to a mutable reference to maybe-uninit. Read more
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more