[−][src]Macro ocaml_interop::ocaml_alloc_variant
Allocates an OCaml variant, mapped from a Rust enum.
The conversion is exhaustive, and requires that every enum case is handled.
It is important that the order remains the same as in the OCaml type declaration.
Examples
TODO