Struct ocaml_interop::OCamlInt32 [−][src]
pub struct OCamlInt32 {}Expand description
OCaml<OCamlInt32> is a reference to an OCaml Int32.t (boxed int32) value.
Trait Implementations
impl FromOCaml<OCamlInt32> for i32[src]
impl FromOCaml<OCamlInt32> for i32[src]fn from_ocaml(v: OCaml<'_, OCamlInt32>) -> Self[src]
fn from_ocaml(v: OCaml<'_, OCamlInt32>) -> Self[src]Convert from OCaml value.
impl ToOCaml<OCamlInt32> for i32[src]
impl ToOCaml<OCamlInt32> for i32[src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlInt32>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlInt32>[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>.