pub struct LookupFeatures {
pub patterns: LookupPatterns,
pub joint_lookup_used: bool,
pub uses_runtime_tables: bool,
}
Fields§
§patterns: LookupPatterns
A single lookup constraint is a vector of lookup constraints to be applied at a row.
joint_lookup_used: bool
Whether joint lookups are used
uses_runtime_tables: bool
True if runtime lookup tables are used.
Implementations§
source§impl LookupFeatures
impl LookupFeatures
pub fn new( patterns: LookupPatterns, joint_lookup_used: bool, uses_runtime_tables: bool ) -> LookupFeatures
source§impl LookupFeatures
impl LookupFeatures
pub fn from_gates<F: PrimeField>( gates: &[CircuitGate<F>], uses_runtime_tables: bool ) -> Self
Trait Implementations§
source§impl Clone for LookupFeatures
impl Clone for LookupFeatures
source§fn clone(&self) -> LookupFeatures
fn clone(&self) -> LookupFeatures
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 LookupFeatures
impl Debug for LookupFeatures
source§impl Default for LookupFeatures
impl Default for LookupFeatures
source§fn default() -> LookupFeatures
fn default() -> LookupFeatures
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LookupFeatures
impl<'de> Deserialize<'de> for LookupFeatures
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<LookupFeatures> for JsValue
impl From<LookupFeatures> for JsValue
source§fn from(value: LookupFeatures) -> Self
fn from(value: LookupFeatures) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime> FromValue<'from_value_lifetime> for LookupFeatures
impl<'from_value_lifetime> FromValue<'from_value_lifetime> for LookupFeatures
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl FromWasmAbi for LookupFeatures
impl FromWasmAbi for LookupFeatures
source§impl IntoValue for LookupFeatures
impl IntoValue for LookupFeatures
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl IntoWasmAbi for LookupFeatures
impl IntoWasmAbi for LookupFeatures
source§impl LongRefFromWasmAbi for LookupFeatures
impl LongRefFromWasmAbi for LookupFeatures
source§impl OCamlBinding for LookupFeatures
impl OCamlBinding for LookupFeatures
source§impl OCamlDesc for LookupFeatures
impl OCamlDesc for LookupFeatures
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 OptionFromWasmAbi for LookupFeatures
impl OptionFromWasmAbi for LookupFeatures
source§impl OptionIntoWasmAbi for LookupFeatures
impl OptionIntoWasmAbi for LookupFeatures
source§impl PartialEq<LookupFeatures> for LookupFeatures
impl PartialEq<LookupFeatures> for LookupFeatures
source§fn eq(&self, other: &LookupFeatures) -> bool
fn eq(&self, other: &LookupFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefFromWasmAbi for LookupFeatures
impl RefFromWasmAbi for LookupFeatures
§type Anchor = Ref<'static, LookupFeatures>
type Anchor = Ref<'static, LookupFeatures>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for LookupFeatures
impl RefMutFromWasmAbi for LookupFeatures
source§impl Serialize for LookupFeatures
impl Serialize for LookupFeatures
source§impl TryFromJsValue for LookupFeatures
impl TryFromJsValue for LookupFeatures
source§impl VectorFromWasmAbi for LookupFeatures
impl VectorFromWasmAbi for LookupFeatures
type Abi = <Box<[JsValue], Global> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[LookupFeatures]>
source§impl VectorIntoWasmAbi for LookupFeatures
impl VectorIntoWasmAbi for LookupFeatures
type Abi = <Box<[JsValue], Global> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[LookupFeatures]>) -> Self::Abi
source§impl WasmDescribeVector for LookupFeatures
impl WasmDescribeVector for LookupFeatures
impl Copy for LookupFeatures
impl Eq for LookupFeatures
impl StructuralEq for LookupFeatures
impl StructuralPartialEq for LookupFeatures
Auto Trait Implementations§
impl RefUnwindSafe for LookupFeatures
impl Send for LookupFeatures
impl Sync for LookupFeatures
impl Unpin for LookupFeatures
impl UnwindSafe for LookupFeatures
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.