Expand description
Attribute Macros§
- func
- A macro to create OCaml bindings for a function that uses
#[ocaml::func]
Derive Macros§
- Custom
Type - Derives implementations for
OCamlDescandOCamlBindingon a custom type For example: - Enum
- The Enum derive macro.
It generates implementations of
ToOCamlandOCamlBindingon an enum type. The type must implementocaml::IntoValueandocaml::FromValueFor example: - Struct
- The Struct derive macro.
It generates implementations of
ToOCamlandOCamlBindingon a struct. The type must implementocaml::IntoValueandocaml::FromValue