Struct ocaml_interop::OCamlList [−][src]
pub struct OCamlList<A> { /* fields omitted */ }Expand description
OCaml<OCamlList<T>> is a reference to an OCaml list containing
values of type T.
Trait Implementations
impl<A, OCamlA> FromOCaml<OCamlList<OCamlA>> for Vec<A> where
A: FromOCaml<OCamlA>, [src]
impl<A, OCamlA> FromOCaml<OCamlList<OCamlA>> for Vec<A> where
A: FromOCaml<OCamlA>, [src]fn from_ocaml(v: OCaml<'_, OCamlList<OCamlA>>) -> Self[src]
fn from_ocaml(v: OCaml<'_, OCamlList<OCamlA>>) -> Self[src]Convert from OCaml value.
impl<A, OCamlA: 'static> ToOCaml<OCamlList<OCamlA>> for Vec<A> where
A: ToOCaml<OCamlA>, [src]
impl<A, OCamlA: 'static> ToOCaml<OCamlList<OCamlA>> for Vec<A> where
A: ToOCaml<OCamlA>, [src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlList<OCamlA>>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlList<OCamlA>>[src]Convert to OCaml value.
fn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>[src]
fn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>[src]Convert to OCaml value. Return an already rooted value as BoxRoot<T>.
Auto Trait Implementations
impl<A> RefUnwindSafe for OCamlList<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for OCamlList<A> where
A: Send,
A: Send,
impl<A> Sync for OCamlList<A> where
A: Sync,
A: Sync,
impl<A> Unpin for OCamlList<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for OCamlList<A> where
A: UnwindSafe,
A: UnwindSafe,