Enum kimchi::circuits::gate::CurrOrNext
source · #[repr(C)]pub enum CurrOrNext {
Curr,
Next,
}
Expand description
A row accessible from a given row, corresponds to the fact that we open all polynomials
at zeta
and omega * zeta
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CurrOrNext
impl Clone for CurrOrNext
source§fn clone(&self) -> CurrOrNext
fn clone(&self) -> CurrOrNext
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 CurrOrNext
impl Debug for CurrOrNext
source§impl<'de> Deserialize<'de> for CurrOrNext
impl<'de> Deserialize<'de> for CurrOrNext
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<CurrOrNext> for JsValue
impl From<CurrOrNext> for JsValue
source§fn from(value: CurrOrNext) -> Self
fn from(value: CurrOrNext) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime> FromValue<'from_value_lifetime> for CurrOrNext
impl<'from_value_lifetime> FromValue<'from_value_lifetime> for CurrOrNext
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl FromWasmAbi for CurrOrNext
impl FromWasmAbi for CurrOrNext
source§impl Hash for CurrOrNext
impl Hash for CurrOrNext
source§impl IntoValue for CurrOrNext
impl IntoValue for CurrOrNext
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl IntoWasmAbi for CurrOrNext
impl IntoWasmAbi for CurrOrNext
source§impl OCamlBinding for CurrOrNext
impl OCamlBinding for CurrOrNext
source§impl OCamlDesc for CurrOrNext
impl OCamlDesc for CurrOrNext
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 CurrOrNext
impl OptionFromWasmAbi for CurrOrNext
source§impl OptionIntoWasmAbi for CurrOrNext
impl OptionIntoWasmAbi for CurrOrNext
source§impl Ord for CurrOrNext
impl Ord for CurrOrNext
source§fn cmp(&self, other: &CurrOrNext) -> Ordering
fn cmp(&self, other: &CurrOrNext) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CurrOrNext> for CurrOrNext
impl PartialEq<CurrOrNext> for CurrOrNext
source§fn eq(&self, other: &CurrOrNext) -> bool
fn eq(&self, other: &CurrOrNext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CurrOrNext> for CurrOrNext
impl PartialOrd<CurrOrNext> for CurrOrNext
source§fn partial_cmp(&self, other: &CurrOrNext) -> Option<Ordering>
fn partial_cmp(&self, other: &CurrOrNext) -> Option<Ordering>
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 moresource§impl Serialize for CurrOrNext
impl Serialize for CurrOrNext
source§impl TryFromJsValue for CurrOrNext
impl TryFromJsValue for CurrOrNext
source§fn try_from_js_value(
value: JsValue
) -> Result<Self, <CurrOrNext as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue ) -> Result<Self, <CurrOrNext as TryFromJsValue>::Error>
Performs the conversion.
source§impl VectorFromWasmAbi for CurrOrNext
impl VectorFromWasmAbi for CurrOrNext
type Abi = <Box<[JsValue], Global> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CurrOrNext]>
source§impl VectorIntoWasmAbi for CurrOrNext
impl VectorIntoWasmAbi for CurrOrNext
type Abi = <Box<[JsValue], Global> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CurrOrNext]>) -> Self::Abi
source§impl WasmDescribeVector for CurrOrNext
impl WasmDescribeVector for CurrOrNext
impl Copy for CurrOrNext
impl Eq for CurrOrNext
impl StructuralEq for CurrOrNext
impl StructuralPartialEq for CurrOrNext
Auto Trait Implementations§
impl RefUnwindSafe for CurrOrNext
impl Send for CurrOrNext
impl Sync for CurrOrNext
impl Unpin for CurrOrNext
impl UnwindSafe for CurrOrNext
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
.