pub struct HashTable;
Implementations§
Source§impl HashTable
impl HashTable
Sourcepub fn tip5_round_constants_by_round_number(r: usize) -> [BFieldElement; 16]
pub fn tip5_round_constants_by_round_number(r: usize) -> [BFieldElement; 16]
The round constants for round r
if it is a valid round number in the Tip5 permutation,
and the zero vector otherwise.
Sourcepub fn round_constant_column_by_index(
index: usize,
) -> <HashTable as AIR>::MainColumn
pub fn round_constant_column_by_index( index: usize, ) -> <HashTable as AIR>::MainColumn
The main column for the round constant corresponding to the given index.
Valid indices are 0 through 15, corresponding to the 16 round constants
Constant0
through Constant15
.
Trait Implementations§
Source§impl AIR for HashTable
impl AIR for HashTable
type MainColumn = HashMainColumn
type AuxColumn = HashAuxColumn
fn initial_constraints( circuit_builder: &ConstraintCircuitBuilder<SingleRowIndicator>, ) -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
fn consistency_constraints( circuit_builder: &ConstraintCircuitBuilder<SingleRowIndicator>, ) -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
fn transition_constraints( circuit_builder: &ConstraintCircuitBuilder<DualRowIndicator>, ) -> Vec<ConstraintCircuitMonad<DualRowIndicator>>
fn terminal_constraints( circuit_builder: &ConstraintCircuitBuilder<SingleRowIndicator>, ) -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
impl Copy for HashTable
impl Eq for HashTable
impl StructuralPartialEq for HashTable
Auto Trait Implementations§
impl Freeze for HashTable
impl RefUnwindSafe for HashTable
impl Send for HashTable
impl Sync for HashTable
impl Unpin for HashTable
impl UnwindSafe for HashTable
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