pub struct PairView<T, Val> {
pub log_trace_height: u8,
pub preprocessed: Option<T>,
pub partitioned_main: Vec<T>,
pub public_values: Vec<Val>,
}
Expand description
A view of just the preprocessed AIR (PAIR), without any after challenge columns. The PAIR trace consists of horizontal concatenation of multiple matrices of the same height:
- preprocessed trace matrix
- the main trace matrix is horizontally partitioned into multiple matrices, where each matrix can belong to a separate matrix commitment.
The generic T
may be either just the trace matrix view or the LDE matrix view.
Fields§
§log_trace_height: u8
Log_2 of the trace domain size (i.e., height of matrices)
preprocessed: Option<T>
Preprocessed trace data, if any
partitioned_main: Vec<T>
Main trace data, horizontally partitioned into multiple matrices
public_values: Vec<Val>
Public values
Auto Trait Implementations§
impl<T, Val> Freeze for PairView<T, Val>where
T: Freeze,
impl<T, Val> RefUnwindSafe for PairView<T, Val>where
T: RefUnwindSafe,
Val: RefUnwindSafe,
impl<T, Val> Send for PairView<T, Val>
impl<T, Val> Sync for PairView<T, Val>
impl<T, Val> Unpin for PairView<T, Val>
impl<T, Val> UnwindSafe for PairView<T, Val>where
T: UnwindSafe,
Val: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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