Struct kimchi_stubs::arkworks::pasta_fp::CamlFp
source · pub struct CamlFp(pub Fp);
Tuple Fields§
§0: Fp
Trait Implementations§
source§impl Custom for CamlFp
impl Custom for CamlFp
§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 CamlFp
impl<'a> FromValue<'a> for CamlFp
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl OCamlDesc for CamlFp
impl OCamlDesc for CamlFp
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 CamlFp
impl TryFrom<CamlBigInteger256> for CamlFp
impl Copy for CamlFp
Auto Trait Implementations§
impl RefUnwindSafe for CamlFp
impl Send for CamlFp
impl Sync for CamlFp
impl Unpin for CamlFp
impl UnwindSafe for CamlFp
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