Enum kimchi::circuits::berkeley_columns::Column
source · pub enum Column {
Witness(usize),
Z,
LookupSorted(usize),
LookupAggreg,
LookupTable,
LookupKindIndex(LookupPattern),
LookupRuntimeSelector,
LookupRuntimeTable,
Index(GateType),
Coefficient(usize),
Permutation(usize),
}
Expand description
A type representing the variables involved in the constraints of the Berkeley hardfork.
In Berkeley, the constraints are defined over the following variables:
- The COLUMNS witness columns.
- The permutation polynomial, Z.
- The public coefficients,
Coefficients
, which can be used for public values. For instance, it is used for the Poseidon round constants. - …
Variants§
Witness(usize)
Z
LookupSorted(usize)
LookupAggreg
LookupTable
LookupKindIndex(LookupPattern)
LookupRuntimeSelector
LookupRuntimeTable
Index(GateType)
Coefficient(usize)
Permutation(usize)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Column
impl<'de> Deserialize<'de> for Column
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 FormattedOutput for Column
impl FormattedOutput for Column
source§impl Ord for Column
impl Ord for Column
source§impl PartialEq<Column> for Column
impl PartialEq<Column> for Column
source§impl PartialOrd<Column> for Column
impl PartialOrd<Column> for Column
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Column
impl Eq for Column
impl StructuralEq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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