Enum kimchi::circuits::argument::ArgumentType
source · 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 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 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<ArgumentType> for ArgumentType
impl PartialEq<ArgumentType> for ArgumentType
source§fn eq(&self, other: &ArgumentType) -> bool
fn eq(&self, other: &ArgumentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArgumentType
impl Serialize for ArgumentType
impl Copy for ArgumentType
impl Eq for ArgumentType
impl StructuralEq for ArgumentType
impl StructuralPartialEq for ArgumentType
Auto Trait Implementations§
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
§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