#[derive(CustomType)]
Expand description
Derives implementations for OCamlDesc
and OCamlBinding
on a custom type
For example:
use ocaml_gen::CustomType;
#[CustomType]
struct MyCustomType {
// ...
}
#[derive(CustomType)]
Derives implementations for OCamlDesc
and OCamlBinding
on a custom type
For example:
use ocaml_gen::CustomType;
#[CustomType]
struct MyCustomType {
// ...
}