pub struct OCamlInt64 {}
Expand description
OCaml
<OCamlInt64>
is a reference to an OCaml Int64.t
(boxed int64
) value.
Trait Implementations§
Source§impl FromOCaml<OCamlInt64> for i64
impl FromOCaml<OCamlInt64> for i64
Source§fn from_ocaml(v: OCaml<'_, OCamlInt64>) -> Self
fn from_ocaml(v: OCaml<'_, OCamlInt64>) -> Self
Convert from OCaml value.
Source§impl ToOCaml<OCamlInt64> for i64
impl ToOCaml<OCamlInt64> for i64
Source§fn 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.
Source§fn 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 Freeze for OCamlInt64
impl RefUnwindSafe for OCamlInt64
impl Send for OCamlInt64
impl Sync for OCamlInt64
impl Unpin for OCamlInt64
impl UnwindSafe for OCamlInt64
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