pub struct Logup<F, ID: LookupTableID> { /* private fields */ }
Expand description
Generic structure to represent a (vector) lookup the table with ID
table_id
.
The structure represents the individual fraction of the sum described in the Logup protocol (for instance Eq. 8).
The table ID is added to the random linear combination formed with the values. The combiner for the random linear combination is coined during the proving phase by the prover.
Implementations§
Trait Implementations§
impl<F: Eq, ID: Eq + LookupTableID> Eq for Logup<F, ID>
impl<F, ID: LookupTableID> StructuralPartialEq for Logup<F, ID>
Auto Trait Implementations§
impl<F, ID> Freeze for Logup<F, ID>
impl<F, ID> RefUnwindSafe for Logup<F, ID>where
ID: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, ID> Send for Logup<F, ID>where
F: Send,
impl<F, ID> Sync for Logup<F, ID>where
F: Sync,
impl<F, ID> Unpin for Logup<F, ID>
impl<F, ID> UnwindSafe for Logup<F, ID>where
ID: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more