Struct ocaml_interop::OCamlBytes [−][src]
pub struct OCamlBytes {}Expand description
Trait Implementations
impl FromOCaml<OCamlBytes> for Vec<u8>[src]
impl FromOCaml<OCamlBytes> for Vec<u8>[src]fn from_ocaml(v: OCaml<'_, OCamlBytes>) -> Self[src]
fn from_ocaml(v: OCaml<'_, OCamlBytes>) -> Self[src]Convert from OCaml value.
impl FromOCaml<OCamlBytes> for String[src]
impl FromOCaml<OCamlBytes> for String[src]fn from_ocaml(v: OCaml<'_, OCamlBytes>) -> Self[src]
fn from_ocaml(v: OCaml<'_, OCamlBytes>) -> Self[src]Convert from OCaml value.
impl ToOCaml<OCamlBytes> for &str[src]
impl ToOCaml<OCamlBytes> for &str[src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[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>.
impl ToOCaml<OCamlBytes> for &[u8][src]
impl ToOCaml<OCamlBytes> for &[u8][src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[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>.
impl ToOCaml<OCamlBytes> for String[src]
impl ToOCaml<OCamlBytes> for String[src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[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>.
impl ToOCaml<OCamlBytes> for Vec<u8>[src]
impl ToOCaml<OCamlBytes> for Vec<u8>[src]fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[src]
fn to_ocaml<'a>(&self, cr: &'a mut OCamlRuntime) -> OCaml<'a, OCamlBytes>[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>.