pub struct ProverDataAfterRapPhases<PB: ProverBackend> {
pub committed_pcs_data_per_phase: Vec<(PB::Commitment, PB::PcsData)>,
pub rap_views_per_phase: Vec<Vec<RapSinglePhaseView<usize, PB::Challenge>>>,
}
Fields§
§committed_pcs_data_per_phase: Vec<(PB::Commitment, PB::PcsData)>
For each challenge phase after the main phase, the commitment and preimage (there should never be a reason to have more than one). This may be empty if challenge phases do not require additional trace commitments.
rap_views_per_phase: Vec<Vec<RapSinglePhaseView<usize, PB::Challenge>>>
For each challenge phase, for each RAP,
the challenge, and exposed values for the RAP.
The indexing is rap_views_per_phase[phase_idx][rap_idx]
.
Implementations§
Source§impl<PB: ProverBackend> ProverDataAfterRapPhases<PB>
impl<PB: ProverBackend> ProverDataAfterRapPhases<PB>
Sourcepub fn new(
committed_pcs_data_per_phase: Vec<(PB::Commitment, PB::PcsData)>,
rap_views_per_phase: Vec<Vec<RapSinglePhaseView<usize, PB::Challenge>>>,
) -> Self
pub fn new( committed_pcs_data_per_phase: Vec<(PB::Commitment, PB::PcsData)>, rap_views_per_phase: Vec<Vec<RapSinglePhaseView<usize, PB::Challenge>>>, ) -> Self
Constructs a new ProverDataAfterRapPhases
.
Auto Trait Implementations§
impl<PB> Freeze for ProverDataAfterRapPhases<PB>
impl<PB> RefUnwindSafe for ProverDataAfterRapPhases<PB>where
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
<PB as ProverBackend>::Challenge: RefUnwindSafe,
impl<PB> Send for ProverDataAfterRapPhases<PB>
impl<PB> Sync for ProverDataAfterRapPhases<PB>
impl<PB> Unpin for ProverDataAfterRapPhases<PB>where
<PB as ProverBackend>::Commitment: Unpin,
<PB as ProverBackend>::PcsData: Unpin,
<PB as ProverBackend>::Challenge: Unpin,
impl<PB> UnwindSafe for ProverDataAfterRapPhases<PB>where
<PB as ProverBackend>::Commitment: UnwindSafe,
<PB as ProverBackend>::PcsData: UnwindSafe,
<PB as ProverBackend>::Challenge: 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