Derive Macro ocaml_gen_derive::CustomType

source ·
#[derive(CustomType)]
Expand description

Derives implementations for OCamlDesc and OCamlBinding on a custom type For example:

use ocaml_gen::CustomType;

#[CustomType]
struct MyCustomType {
  // ...
}