pub enum SingleRowIndicator {
Main(usize),
Aux(usize),
}
Expand description
The position of a variable in a constraint polynomial that operates on a single row of the execution trace.
Variants§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for SingleRowIndicator
impl<'arbitrary> Arbitrary<'arbitrary> for SingleRowIndicator
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 SingleRowIndicator
impl Clone for SingleRowIndicator
Source§fn clone(&self) -> SingleRowIndicator
fn clone(&self) -> SingleRowIndicator
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 SingleRowIndicator
impl Debug for SingleRowIndicator
Source§impl Display for SingleRowIndicator
impl Display for SingleRowIndicator
Source§impl Hash for SingleRowIndicator
impl Hash for SingleRowIndicator
Source§impl InputIndicator for SingleRowIndicator
impl InputIndicator for SingleRowIndicator
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 SingleRowIndicator
impl PartialEq for SingleRowIndicator
Source§impl ToTokens for SingleRowIndicator
impl ToTokens for SingleRowIndicator
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 SingleRowIndicator
impl Eq for SingleRowIndicator
impl StructuralPartialEq for SingleRowIndicator
Auto Trait Implementations§
impl Freeze for SingleRowIndicator
impl RefUnwindSafe for SingleRowIndicator
impl Send for SingleRowIndicator
impl Sync for SingleRowIndicator
impl Unpin for SingleRowIndicator
impl UnwindSafe for SingleRowIndicator
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