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 duplicate 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 Pallas
 
impl From<&CamlGroupAffine<CamlFp>> for Pallas
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 Vesta
 
impl From<&CamlGroupAffine<CamlFq>> for Vesta
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 Pallas
 
impl From<CamlGroupAffine<CamlFp>> for Pallas
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 Vesta
 
impl From<CamlGroupAffine<CamlFq>> for Vesta
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> Freeze for CamlGroupAffine<F>where
    F: Freeze,
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