Struct kimchi::circuits::lookup::constraints::LookupConfiguration
source · pub struct LookupConfiguration<F> {
pub lookup_info: LookupInfo,
pub dummy_lookup: JointLookupValue<F>,
}
Expand description
Configuration for the lookup constraint. These values are independent of the choice of lookup values.
Fields§
§lookup_info: LookupInfo
Information about the specific lookups used
dummy_lookup: JointLookupValue<F>
A placeholder value that is known to appear in the lookup table.
This is used to pad the lookups to max_lookups_per_row
when fewer lookups are used in a
particular row, so that we can treat each row uniformly as having the same number of
lookups.
Implementations§
source§impl<F: Zero> LookupConfiguration<F>
impl<F: Zero> LookupConfiguration<F>
pub fn new(lookup_info: LookupInfo) -> LookupConfiguration<F>
Trait Implementations§
source§impl<F: Clone> Clone for LookupConfiguration<F>
impl<F: Clone> Clone for LookupConfiguration<F>
source§fn clone(&self) -> LookupConfiguration<F>
fn clone(&self) -> LookupConfiguration<F>
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<F: Debug> Debug for LookupConfiguration<F>
impl<F: Debug> Debug for LookupConfiguration<F>
source§impl<'de, F> Deserialize<'de> for LookupConfiguration<F>where
F: CanonicalSerialize + CanonicalDeserialize,
impl<'de, F> Deserialize<'de> for LookupConfiguration<F>where F: CanonicalSerialize + CanonicalDeserialize,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> RefUnwindSafe for LookupConfiguration<F>where F: RefUnwindSafe,
impl<F> Send for LookupConfiguration<F>where F: Send,
impl<F> Sync for LookupConfiguration<F>where F: Sync,
impl<F> Unpin for LookupConfiguration<F>where F: Unpin,
impl<F> UnwindSafe for LookupConfiguration<F>where F: UnwindSafe,
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