Enum kimchi_msm::ffa::lookups::LookupTable
source · pub enum LookupTable {
RangeCheck15,
RangeCheck1BitSigned,
}
Expand description
Enumeration of concrete lookup tables used in lookups circuit.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for LookupTable
impl Clone for LookupTable
source§fn clone(&self) -> LookupTable
fn clone(&self) -> LookupTable
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 LookupTable
impl Debug for LookupTable
source§impl Hash for LookupTable
impl Hash for LookupTable
source§impl IntoEnumIterator for LookupTable
impl IntoEnumIterator for LookupTable
type Iterator = LookupTableIter
fn iter() -> LookupTableIter ⓘ
source§impl LookupTableID for LookupTable
impl LookupTableID for LookupTable
source§fn ix_by_value<F: PrimeField>(&self, value: &[F]) -> Option<usize>
fn ix_by_value<F: PrimeField>(&self, value: &[F]) -> Option<usize>
Converts a value to its index in the fixed table.
source§fn runtime_create_column(&self) -> bool
fn runtime_create_column(&self) -> bool
If a table is runtime table,
true
means we should create an
explicit extra column for it to “read” from. false
means
that this table will be reading from some existing (e.g.
relation) columns, and no extra columns should be added. Read morefn all_variants() -> Vec<Self>
source§fn to_constraint<F: Field>(&self) -> E<F>
fn to_constraint<F: Field>(&self) -> E<F>
Assign a unique ID to the lookup tables, as an expression.
source§impl Ord for LookupTable
impl Ord for LookupTable
source§fn cmp(&self, other: &LookupTable) -> Ordering
fn cmp(&self, other: &LookupTable) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<LookupTable> for LookupTable
impl PartialEq<LookupTable> for LookupTable
source§fn eq(&self, other: &LookupTable) -> bool
fn eq(&self, other: &LookupTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LookupTable> for LookupTable
impl PartialOrd<LookupTable> for LookupTable
source§fn partial_cmp(&self, other: &LookupTable) -> Option<Ordering>
fn partial_cmp(&self, other: &LookupTable) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LookupTable
impl Eq for LookupTable
impl StructuralEq for LookupTable
impl StructuralPartialEq for LookupTable
Auto Trait Implementations§
impl RefUnwindSafe for LookupTable
impl Send for LookupTable
impl Sync for LookupTable
impl Unpin for LookupTable
impl UnwindSafe for LookupTable
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more