#[repr(usize)]pub enum ProgramMainColumn {
Address = 0,
Instruction = 1,
LookupMultiplicity = 2,
IndexInChunk = 3,
MaxMinusIndexInChunkInv = 4,
IsHashInputPadding = 5,
IsTablePadding = 6,
}
Variants§
Address = 0
An instruction’s address.
Instruction = 1
The (opcode of the) instruction.
LookupMultiplicity = 2
How often an instruction has been executed.
IndexInChunk = 3
The index in the vector of length Rate
that is to be absorbed in the Sponge
in order to compute the program’s digest.
In other words:
Address
modulo Rate
.
MaxMinusIndexInChunkInv = 4
The inverse-or-zero of Rate
- 1 - IndexInChunk
.
Helper variable to guarantee IndexInChunk
’s correct transition.
IsHashInputPadding = 5
Padding indicator for absorbing the program into the Sponge.
IsTablePadding = 6
Padding indicator for rows only required due to the dominating length of some other table.
Trait Implementations§
Source§impl Clone for ProgramMainColumn
impl Clone for ProgramMainColumn
Source§fn clone(&self) -> ProgramMainColumn
fn clone(&self) -> ProgramMainColumn
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 ProgramMainColumn
impl Debug for ProgramMainColumn
Source§impl Display for ProgramMainColumn
impl Display for ProgramMainColumn
Source§impl Hash for ProgramMainColumn
impl Hash for ProgramMainColumn
Source§impl IntoEnumIterator for ProgramMainColumn
impl IntoEnumIterator for ProgramMainColumn
type Iterator = ProgramMainColumnIter
fn iter() -> ProgramMainColumnIter ⓘ
Source§impl MasterMainColumn for ProgramMainColumn
impl MasterMainColumn for ProgramMainColumn
Source§fn main_index(&self) -> usize
fn main_index(&self) -> usize
The index of the column in the “local” main table, _i.e., not the master base table.
Source§fn master_main_index(&self) -> usize
fn master_main_index(&self) -> usize
The index of the column in the master main table.
Source§impl PartialEq for ProgramMainColumn
impl PartialEq for ProgramMainColumn
impl Copy for ProgramMainColumn
impl Eq for ProgramMainColumn
impl StructuralPartialEq for ProgramMainColumn
Auto Trait Implementations§
impl Freeze for ProgramMainColumn
impl RefUnwindSafe for ProgramMainColumn
impl Send for ProgramMainColumn
impl Sync for ProgramMainColumn
impl Unpin for ProgramMainColumn
impl UnwindSafe for ProgramMainColumn
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