Trait ocaml_interop::FromOCaml
source · pub unsafe trait FromOCaml<T> {
// Required method
fn from_ocaml(v: OCaml<'_, T>) -> Self;
}
Expand description
Implements conversion from OCaml values into Rust values.
Required Methods§
sourcefn from_ocaml(v: OCaml<'_, T>) -> Self
fn from_ocaml(v: OCaml<'_, T>) -> Self
Convert from OCaml value.