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>
impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlLookupTable<CamlF>
Source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
Source§impl<CamlF> IntoValue for CamlLookupTable<CamlF>
impl<CamlF> IntoValue for CamlLookupTable<CamlF>
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> Freeze for CamlLookupTable<CamlF>
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