pub enum GateLookupTable {
Xor,
RangeCheck,
}
Expand description
Enumerates the different ‘fixed’ lookup tables used by individual gates
Variants§
Implementations§
source§impl GateLookupTable
impl GateLookupTable
sourcepub fn table_size(&self) -> usize
pub fn table_size(&self) -> usize
Returns the lookup table associated to a GateLookupTable
.
Trait Implementations§
source§impl Clone for GateLookupTable
impl Clone for GateLookupTable
source§fn clone(&self) -> GateLookupTable
fn clone(&self) -> GateLookupTable
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 Debug for GateLookupTable
impl Debug for GateLookupTable
source§impl<'de> Deserialize<'de> for GateLookupTable
impl<'de> Deserialize<'de> for GateLookupTable
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
source§impl Hash for GateLookupTable
impl Hash for GateLookupTable
source§impl Index<GateLookupTable> for GateLookupTables
impl Index<GateLookupTable> for GateLookupTables
source§impl IndexMut<GateLookupTable> for GateLookupTables
impl IndexMut<GateLookupTable> for GateLookupTables
source§impl PartialEq<GateLookupTable> for GateLookupTable
impl PartialEq<GateLookupTable> for GateLookupTable
source§fn eq(&self, other: &GateLookupTable) -> bool
fn eq(&self, other: &GateLookupTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GateLookupTable
impl Serialize for GateLookupTable
impl Copy for GateLookupTable
impl Eq for GateLookupTable
impl StructuralEq for GateLookupTable
impl StructuralPartialEq for GateLookupTable
Auto Trait Implementations§
impl RefUnwindSafe for GateLookupTable
impl Send for GateLookupTable
impl Sync for GateLookupTable
impl Unpin for GateLookupTable
impl UnwindSafe for GateLookupTable
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more