pub struct ProvingContext<PB: ProverBackend> {
pub per_air: Vec<(usize, AirProvingContext<PB>)>,
}
Fields§
§per_air: Vec<(usize, AirProvingContext<PB>)>
(AIR id, AIR input)
Implementations§
Source§impl<PB: ProverBackend> ProvingContext<PB>
impl<PB: ProverBackend> ProvingContext<PB>
Sourcepub fn new(per_air: Vec<(usize, AirProvingContext<PB>)>) -> Self
pub fn new(per_air: Vec<(usize, AirProvingContext<PB>)>) -> Self
Constructs a new ProvingContext
.
Source§impl<PB: ProverBackend> ProvingContext<PB>
impl<PB: ProverBackend> ProvingContext<PB>
pub fn into_air_proving_ctx_vec(self) -> Vec<AirProvingContext<PB>>
pub fn air_ids(&self) -> Vec<usize>
Trait Implementations§
Source§impl<PB: ProverBackend> IntoIterator for ProvingContext<PB>
impl<PB: ProverBackend> IntoIterator for ProvingContext<PB>
Source§type Item = (usize, AirProvingContext<PB>)
type Item = (usize, AirProvingContext<PB>)
The type of the elements being iterated over.
Source§type IntoIter = IntoIter<<ProvingContext<PB> as IntoIterator>::Item>
type IntoIter = IntoIter<<ProvingContext<PB> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Auto Trait Implementations§
impl<PB> Freeze for ProvingContext<PB>
impl<PB> RefUnwindSafe for ProvingContext<PB>where
<PB as ProverBackend>::Matrix: RefUnwindSafe,
<PB as ProverBackend>::Val: RefUnwindSafe,
<PB as ProverBackend>::Commitment: RefUnwindSafe,
<PB as ProverBackend>::PcsData: RefUnwindSafe,
impl<PB> Send for ProvingContext<PB>
impl<PB> Sync for ProvingContext<PB>
impl<PB> Unpin for ProvingContext<PB>where
<PB as ProverBackend>::Matrix: Unpin,
<PB as ProverBackend>::Val: Unpin,
<PB as ProverBackend>::Commitment: Unpin,
<PB as ProverBackend>::PcsData: Unpin,
impl<PB> UnwindSafe for ProvingContext<PB>where
<PB as ProverBackend>::Matrix: UnwindSafe,
<PB as ProverBackend>::Val: UnwindSafe,
<PB as ProverBackend>::Commitment: UnwindSafe,
<PB as ProverBackend>::PcsData: 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