pub enum ArgumentType {
Gate(GateType),
Permutation,
Lookup,
}
Expand description
A constraint type represents a polynomial that will be part of the final equation f (the circuit equation)
Variants§
Gate(GateType)
Gates in the PLONK constraint system. As gates are mutually exclusive (a single gate is set per row), we can reuse the same powers of alpha across gates.
Permutation
The permutation argument
Lookup
The lookup argument
Trait Implementations§
Source§impl Clone for ArgumentType
impl Clone for ArgumentType
Source§fn clone(&self) -> ArgumentType
fn clone(&self) -> ArgumentType
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 Debug for ArgumentType
impl Debug for ArgumentType
Source§impl<'de> Deserialize<'de> for ArgumentType
impl<'de> Deserialize<'de> for ArgumentType
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 ArgumentType
impl Hash for ArgumentType
Source§impl PartialEq for ArgumentType
impl PartialEq for ArgumentType
Source§impl Serialize for ArgumentType
impl Serialize for ArgumentType
impl Copy for ArgumentType
impl Eq for ArgumentType
impl StructuralPartialEq for ArgumentType
Auto Trait Implementations§
impl Freeze for ArgumentType
impl RefUnwindSafe for ArgumentType
impl Send for ArgumentType
impl Sync for ArgumentType
impl Unpin for ArgumentType
impl UnwindSafe for ArgumentType
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