Enum kimchi_msm::lookups::DummyLookupTable
source · pub enum DummyLookupTable {
DummyLookupTable,
}
Expand description
Dummy lookup table. For the cases when you don’t need one – a single dummy element 0.
Variants§
DummyLookupTable
Implementations§
Trait Implementations§
source§impl Clone for DummyLookupTable
impl Clone for DummyLookupTable
source§fn clone(&self) -> DummyLookupTable
fn clone(&self) -> DummyLookupTable
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 DummyLookupTable
impl Debug for DummyLookupTable
source§impl Hash for DummyLookupTable
impl Hash for DummyLookupTable
source§impl LookupTableID for DummyLookupTable
impl LookupTableID for DummyLookupTable
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 moresource§fn ix_by_value<F: PrimeField>(&self, value: &[F]) -> Option<usize>
fn ix_by_value<F: PrimeField>(&self, value: &[F]) -> Option<usize>
Returns None if the table is runtime (and thus mapping value
-> ix is not known at compile time.
fn 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 DummyLookupTable
impl Ord for DummyLookupTable
source§fn cmp(&self, other: &DummyLookupTable) -> Ordering
fn cmp(&self, other: &DummyLookupTable) -> 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<DummyLookupTable> for DummyLookupTable
impl PartialEq<DummyLookupTable> for DummyLookupTable
source§fn eq(&self, other: &DummyLookupTable) -> bool
fn eq(&self, other: &DummyLookupTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DummyLookupTable> for DummyLookupTable
impl PartialOrd<DummyLookupTable> for DummyLookupTable
source§fn partial_cmp(&self, other: &DummyLookupTable) -> Option<Ordering>
fn partial_cmp(&self, other: &DummyLookupTable) -> 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 DummyLookupTable
impl Eq for DummyLookupTable
impl StructuralEq for DummyLookupTable
impl StructuralPartialEq for DummyLookupTable
Auto Trait Implementations§
impl RefUnwindSafe for DummyLookupTable
impl Send for DummyLookupTable
impl Sync for DummyLookupTable
impl Unpin for DummyLookupTable
impl UnwindSafe for DummyLookupTable
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