Struct kimchi_stubs::arkworks::pasta_fq::CamlFq
source · pub struct CamlFq(pub Fq);
Tuple Fields§
§0: Fq
Trait Implementations§
source§impl Custom for CamlFq
impl Custom for CamlFq
§const FIXED_LENGTH: Option<custom_fixed_length> = None
const FIXED_LENGTH: Option<custom_fixed_length> = None
Custom type fixed length
§const USED: usize = 0usize
const USED: usize = 0usize
used
parameter to alloc_custom
. This helps determine the frequency of garbage
collection related to this custom type.source§impl<'a> FromValue<'a> for CamlFq
impl<'a> FromValue<'a> for CamlFq
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl OCamlDesc for CamlFq
impl OCamlDesc for CamlFq
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 TryFrom<CamlBigInteger256> for CamlFq
impl TryFrom<CamlBigInteger256> for CamlFq
impl Copy for CamlFq
Auto Trait Implementations§
impl RefUnwindSafe for CamlFq
impl Send for CamlFq
impl Sync for CamlFq
impl Unpin for CamlFq
impl UnwindSafe for CamlFq
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<T> IntoValue for Twhere
T: 'static + Custom,
impl<T> IntoValue for Twhere T: 'static + Custom,
§fn into_value(self, rt: &OCamlRuntime) -> Value
fn into_value(self, rt: &OCamlRuntime) -> Value
Convert to OCaml value