pub enum CamlGroupAffine<F> {
Infinity,
Finite((F, F)),
}
Variants§
Trait Implementations§
source§impl<F: Clone> Clone for CamlGroupAffine<F>
impl<F: Clone> Clone for CamlGroupAffine<F>
source§fn clone(&self) -> CamlGroupAffine<F>
fn clone(&self) -> CamlGroupAffine<F>
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<F: Debug> Debug for CamlGroupAffine<F>
impl<F: Debug> Debug for CamlGroupAffine<F>
source§impl From<&CamlGroupAffine<CamlFp>> for AffinePallas
impl From<&CamlGroupAffine<CamlFp>> for AffinePallas
source§fn from(camlg: &CamlGPallas) -> Self
fn from(camlg: &CamlGPallas) -> Self
Converts to this type from the input type.
source§impl From<&CamlGroupAffine<CamlFq>> for AffineVesta
impl From<&CamlGroupAffine<CamlFq>> for AffineVesta
source§fn from(camlg: &CamlGVesta) -> Self
fn from(camlg: &CamlGVesta) -> Self
Converts to this type from the input type.
source§impl From<CamlGroupAffine<CamlFp>> for AffinePallas
impl From<CamlGroupAffine<CamlFp>> for AffinePallas
source§fn from(camlg: CamlGPallas) -> Self
fn from(camlg: CamlGPallas) -> Self
Converts to this type from the input type.
source§impl From<CamlGroupAffine<CamlFq>> for AffineVesta
impl From<CamlGroupAffine<CamlFq>> for AffineVesta
source§fn from(camlg: CamlGVesta) -> Self
fn from(camlg: CamlGVesta) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, F> FromValue<'from_value_lifetime> for CamlGroupAffine<F>where
(F, F): FromValue<'from_value_lifetime>,
F: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, F> FromValue<'from_value_lifetime> for CamlGroupAffine<F>where (F, F): FromValue<'from_value_lifetime>, F: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<F> IntoValue for CamlGroupAffine<F>where
(F, F): IntoValue,
F: IntoValue,
impl<F> IntoValue for CamlGroupAffine<F>where (F, F): IntoValue, F: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<F> OCamlBinding for CamlGroupAffine<F>where
F: OCamlDesc,
impl<F> OCamlBinding for CamlGroupAffine<F>where F: OCamlDesc,
source§impl<F> OCamlDesc for CamlGroupAffine<F>where
F: OCamlDesc,
impl<F> OCamlDesc for CamlGroupAffine<F>where F: OCamlDesc,
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)
impl<F: Copy> Copy for CamlGroupAffine<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for CamlGroupAffine<F>where F: RefUnwindSafe,
impl<F> Send for CamlGroupAffine<F>where F: Send,
impl<F> Sync for CamlGroupAffine<F>where F: Sync,
impl<F> Unpin for CamlGroupAffine<F>where F: Unpin,
impl<F> UnwindSafe for CamlGroupAffine<F>where F: UnwindSafe,
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