pub struct CommittedSingleMatrixView<'a, SC: StarkGenericConfig> {
pub data: &'a PcsProverData<SC>,
pub matrix_index: usize,
}
Expand description
The PCS commits to multiple matrices at once, so this struct stores references to get PCS data relevant to a single matrix (e.g., LDE matrix, openings).
Fields§
§data: &'a PcsProverData<SC>
Prover data, includes LDE matrix of trace and Merkle tree.
The prover data can commit to multiple trace matrices, so
matrix_index
is needed to identify this trace.
matrix_index: usize
The index of the trace matrix in the prover data.
Implementations§
Source§impl<'a, SC: StarkGenericConfig> CommittedSingleMatrixView<'a, SC>
impl<'a, SC: StarkGenericConfig> CommittedSingleMatrixView<'a, SC>
pub fn new(data: &'a PcsProverData<SC>, matrix_index: usize) -> Self
Trait Implementations§
Source§impl<SC: StarkGenericConfig> Clone for CommittedSingleMatrixView<'_, SC>
impl<SC: StarkGenericConfig> Clone for CommittedSingleMatrixView<'_, SC>
Auto Trait Implementations§
impl<'a, SC> Freeze for CommittedSingleMatrixView<'a, SC>
impl<'a, SC> RefUnwindSafe for CommittedSingleMatrixView<'a, SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::ProverData: RefUnwindSafe,
impl<'a, SC> Send for CommittedSingleMatrixView<'a, SC>
impl<'a, SC> Sync for CommittedSingleMatrixView<'a, SC>
impl<'a, SC> Unpin for CommittedSingleMatrixView<'a, SC>
impl<'a, SC> UnwindSafe for CommittedSingleMatrixView<'a, SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::ProverData: RefUnwindSafe,
Blanket Implementations§
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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