Struct ocaml_interop::OCamlInt64
source · [−]pub struct OCamlInt64 {}Expand description
OCaml<OCamlInt64> is a reference to an OCaml Int64.t (boxed int64) value.
Trait Implementations
sourceimpl FromOCaml<OCamlInt64> for i64
impl FromOCaml<OCamlInt64> for i64
sourcefn from_ocaml(v: OCaml<'_, OCamlInt64>) -> Self
fn from_ocaml(v: OCaml<'_, OCamlInt64>) -> Self
Convert from OCaml value.
sourceimpl ToOCaml<OCamlInt64> for i64
impl ToOCaml<OCamlInt64> for i64
sourcefn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlInt64>
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlInt64>
Convert to OCaml value.
sourcefn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>
fn to_boxroot(&self, cr: &mut OCamlRuntime) -> BoxRoot<T>
Convert to OCaml value. Return an already rooted value as BoxRoot<T>.
Auto Trait Implementations
impl RefUnwindSafe for OCamlInt64
impl Send for OCamlInt64
impl Sync for OCamlInt64
impl Unpin for OCamlInt64
impl UnwindSafe for OCamlInt64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more