pub struct CamlLookupTable<CamlF> {
pub id: i32,
pub data: Vec<Vec<CamlF>>,
}
Fields§
§id: i32
§data: Vec<Vec<CamlF>>
Trait Implementations§
source§impl<F, CamlF> From<CamlLookupTable<CamlF>> for LookupTable<F>where
F: PrimeField,
CamlF: Into<F>,
impl<F, CamlF> From<CamlLookupTable<CamlF>> for LookupTable<F>where F: PrimeField, CamlF: Into<F>,
source§fn from(caml_lt: CamlLookupTable<CamlF>) -> Self
fn from(caml_lt: CamlLookupTable<CamlF>) -> Self
Converts to this type from the input type.
source§impl<F, CamlF> From<LookupTable<F>> for CamlLookupTable<CamlF>where
F: PrimeField,
CamlF: From<F>,
impl<F, CamlF> From<LookupTable<F>> for CamlLookupTable<CamlF>where F: PrimeField, CamlF: From<F>,
source§fn from(lt: LookupTable<F>) -> Self
fn from(lt: LookupTable<F>) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlLookupTable<CamlF>where
Vec<Vec<CamlF>>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlLookupTable<CamlF>where Vec<Vec<CamlF>>: FromValue<'from_value_lifetime>, CamlF: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<CamlF> IntoValue for CamlLookupTable<CamlF>where
Vec<Vec<CamlF>>: IntoValue,
CamlF: IntoValue,
impl<CamlF> IntoValue for CamlLookupTable<CamlF>where Vec<Vec<CamlF>>: IntoValue, CamlF: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<CamlF> OCamlBinding for CamlLookupTable<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlBinding for CamlLookupTable<CamlF>where CamlF: OCamlDesc,
source§impl<CamlF> OCamlDesc for CamlLookupTable<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlDesc for CamlLookupTable<CamlF>where CamlF: 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)
Auto Trait Implementations§
impl<CamlF> RefUnwindSafe for CamlLookupTable<CamlF>where CamlF: RefUnwindSafe,
impl<CamlF> Send for CamlLookupTable<CamlF>where CamlF: Send,
impl<CamlF> Sync for CamlLookupTable<CamlF>where CamlF: Sync,
impl<CamlF> Unpin for CamlLookupTable<CamlF>where CamlF: Unpin,
impl<CamlF> UnwindSafe for CamlLookupTable<CamlF>where CamlF: 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