Enum kimchi::circuits::expr::FeatureFlag
source · pub enum FeatureFlag {
RangeCheck0,
RangeCheck1,
ForeignFieldAdd,
ForeignFieldMul,
Xor,
Rot,
LookupTables,
RuntimeLookupTables,
LookupPattern(LookupPattern),
TableWidth(isize),
LookupsPerRow(isize),
}
Expand description
The feature flags that can be used to enable or disable parts of constraints.
Variants§
RangeCheck0
RangeCheck1
ForeignFieldAdd
ForeignFieldMul
Xor
Rot
LookupTables
RuntimeLookupTables
LookupPattern(LookupPattern)
TableWidth(isize)
Enabled if the table width is at least the given number
LookupsPerRow(isize)
Enabled if the number of lookups per row is at least the given number
Trait Implementations§
source§impl Clone for FeatureFlag
impl Clone for FeatureFlag
source§fn clone(&self) -> FeatureFlag
fn clone(&self) -> FeatureFlag
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 FeatureFlag
impl Debug for FeatureFlag
source§impl<'de> Deserialize<'de> for FeatureFlag
impl<'de> Deserialize<'de> for FeatureFlag
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<'from_value_lifetime> FromValue<'from_value_lifetime> for FeatureFlag
impl<'from_value_lifetime> FromValue<'from_value_lifetime> for FeatureFlag
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl Hash for FeatureFlag
impl Hash for FeatureFlag
source§impl IntoValue for FeatureFlag
impl IntoValue for FeatureFlag
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl OCamlBinding for FeatureFlag
impl OCamlBinding for FeatureFlag
source§impl OCamlDesc for FeatureFlag
impl OCamlDesc for FeatureFlag
source§fn ocaml_desc(env: &Env, generics: &[&str]) -> String
fn ocaml_desc(env: &Env, generics: &[&str]) -> String
describes the type in OCaml, given the current environment [Env]
and the list of generic type parameters of the root type
(the type that makes use of this type)
source§impl PartialEq<FeatureFlag> for FeatureFlag
impl PartialEq<FeatureFlag> for FeatureFlag
source§fn eq(&self, other: &FeatureFlag) -> bool
fn eq(&self, other: &FeatureFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FeatureFlag
impl Serialize for FeatureFlag
impl Copy for FeatureFlag
impl Eq for FeatureFlag
impl StructuralEq for FeatureFlag
impl StructuralPartialEq for FeatureFlag
Auto Trait Implementations§
impl RefUnwindSafe for FeatureFlag
impl Send for FeatureFlag
impl Sync for FeatureFlag
impl Unpin for FeatureFlag
impl UnwindSafe for FeatureFlag
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