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 duplicate 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> Freeze for LookupConfiguration<F>where
F: Freeze,
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