pub trait OCamlDesc {
// Required methods
fn ocaml_desc(env: &Env, generics: &[&str]) -> String;
fn unique_id() -> u128;
}
Expand description
OCamlDesc
is the trait implemented by types to facilitate generation of their OCaml bindings.
It is usually derived automatically via the Struct macro,
or the CustomType
macro for custom types.
Required Methods§
Object Safety§
This trait is not object safe.