#[repr(usize)]pub enum ProgramBaseTableColumn {
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 ProgramBaseTableColumn
impl Clone for ProgramBaseTableColumn
source§fn clone(&self) -> ProgramBaseTableColumn
fn clone(&self) -> ProgramBaseTableColumn
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 ProgramBaseTableColumn
impl Debug for ProgramBaseTableColumn
source§impl Display for ProgramBaseTableColumn
impl Display for ProgramBaseTableColumn
source§impl Hash for ProgramBaseTableColumn
impl Hash for ProgramBaseTableColumn
source§impl MasterBaseTableColumn for ProgramBaseTableColumn
impl MasterBaseTableColumn for ProgramBaseTableColumn
source§fn base_table_index(&self) -> usize
fn base_table_index(&self) -> usize
The index of the column in the ”local“ base table, _i.e., not the master base table.
source§fn master_base_table_index(&self) -> usize
fn master_base_table_index(&self) -> usize
The index of the column in the master base table.
source§impl PartialEq for ProgramBaseTableColumn
impl PartialEq for ProgramBaseTableColumn
source§fn eq(&self, other: &ProgramBaseTableColumn) -> bool
fn eq(&self, other: &ProgramBaseTableColumn) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ProgramBaseTableColumn
impl Eq for ProgramBaseTableColumn
impl StructuralPartialEq for ProgramBaseTableColumn
Auto Trait Implementations§
impl Freeze for ProgramBaseTableColumn
impl RefUnwindSafe for ProgramBaseTableColumn
impl Send for ProgramBaseTableColumn
impl Sync for ProgramBaseTableColumn
impl Unpin for ProgramBaseTableColumn
impl UnwindSafe for ProgramBaseTableColumn
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> 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