Crate ocaml_derive
Source - ocaml_bytecode_func
bytecode_func
is used export Rust functions to OCaml, performing the necessary wrapping/unwrapping
automatically.- ocaml_func
func
is used export Rust functions to OCaml, performing the necessary wrapping/unwrapping
automatically.- ocaml_native_func
native_func
is used export Rust functions to OCaml, it has much lower overhead than func
and expects all arguments and return type to to be Value
.- ocaml_sig
- FromValue
- Derive
ocaml::FromValue
- ToValue
- Derive
ocaml::ToValue