pub enum DualRowIndicator {
CurrentMain(usize),
CurrentAux(usize),
NextMain(usize),
NextAux(usize),
}
Expand description
The position of a variable in a constraint polynomial that operates on two rows (current and next) of the execution trace.
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for DualRowIndicator
impl<'arbitrary> Arbitrary<'arbitrary> for DualRowIndicator
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for DualRowIndicator
impl Clone for DualRowIndicator
Source§fn clone(&self) -> DualRowIndicator
fn clone(&self) -> DualRowIndicator
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DualRowIndicator
impl Debug for DualRowIndicator
Source§impl Display for DualRowIndicator
impl Display for DualRowIndicator
Source§impl Hash for DualRowIndicator
impl Hash for DualRowIndicator
Source§impl InputIndicator for DualRowIndicator
impl InputIndicator for DualRowIndicator
Source§fn is_main_table_column(&self) -> bool
fn is_main_table_column(&self) -> bool
true
iff self
refers to a column in the main table.Source§fn is_current_row(&self) -> bool
fn is_current_row(&self) -> bool
true
iff self
refers to the current row.fn main_table_input(index: usize) -> Self
fn aux_table_input(index: usize) -> Self
fn evaluate( &self, main_table: ArrayView2<'_, BFieldElement>, aux_table: ArrayView2<'_, XFieldElement>, ) -> XFieldElement
Source§impl PartialEq for DualRowIndicator
impl PartialEq for DualRowIndicator
Source§impl ToTokens for DualRowIndicator
impl ToTokens for DualRowIndicator
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for DualRowIndicator
impl Eq for DualRowIndicator
impl StructuralPartialEq for DualRowIndicator
Auto Trait Implementations§
impl Freeze for DualRowIndicator
impl RefUnwindSafe for DualRowIndicator
impl Send for DualRowIndicator
impl Sync for DualRowIndicator
impl Unpin for DualRowIndicator
impl UnwindSafe for DualRowIndicator
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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