Trait kimchi_msm::circuit_design::capabilities::LookupCap
source · pub trait LookupCap<F: PrimeField, CIx: ColumnIndexer, LT: LookupTableID>where
Self: ColAccessCap<F, CIx>,{
// Required methods
fn lookup(&mut self, lookup_id: LT, value: Vec<Self::Variable>);
fn lookup_runtime_write(
&mut self,
lookup_id: LT,
value: Vec<Self::Variable>
);
}
Expand description
Capability for invoking table lookups.
Required Methods§
sourcefn lookup(&mut self, lookup_id: LT, value: Vec<Self::Variable>)
fn lookup(&mut self, lookup_id: LT, value: Vec<Self::Variable>)
Look up (read) value from a lookup table.
sourcefn lookup_runtime_write(&mut self, lookup_id: LT, value: Vec<Self::Variable>)
fn lookup_runtime_write(&mut self, lookup_id: LT, value: Vec<Self::Variable>)
Write a value into a runtime table. Panics if called on a fixed table.