[][src]Trait ocaml_interop::ToRust

pub trait ToRust<T>: Sized {
    fn to_rust(self) -> T;
}

Counterpart to FromOCaml, usually more convenient to use.

Required methods

fn to_rust(self) -> T

Convert into a Rust value.

Loading content...

Implementors

impl<'a, OCamlT, RustT> ToRust<RustT> for OCaml<'a, OCamlT> where
    RustT: FromOCaml<OCamlT>, 
[src]

Loading content...