pub trait LookupCap<F: PrimeField, CIx: ColumnIndexer<usize>, 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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.