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