pub struct RoundContext<'a, P: PackedField> { /* private fields */ }Expand description
The scalar state of one round, as an evaluator may read it while interpolating.
Holds no columns and no allocator, so an evaluator is generic over neither. The store has not folded this round yet, so every value here is the current round’s.
Implementations§
Source§impl<F: Field, P: PackedField<Scalar = F>> RoundContext<'_, P>
impl<F: Field, P: PackedField<Scalar = F>> RoundContext<'_, P>
Sourcepub const fn n_vars(&self) -> usize
pub const fn n_vars(&self) -> usize
Returns the number of variables not yet bound, this round’s included.
Auto Trait Implementations§
impl<'a, P> Freeze for RoundContext<'a, P>
impl<'a, P> RefUnwindSafe for RoundContext<'a, P>
impl<'a, P> Send for RoundContext<'a, P>
impl<'a, P> Sync for RoundContext<'a, P>
impl<'a, P> Unpin for RoundContext<'a, P>
impl<'a, P> UnsafeUnpin for RoundContext<'a, P>
impl<'a, P> UnwindSafe for RoundContext<'a, P>
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
§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