macro_rules! impl_conv_ocaml_record {
    ($rust_typ:ident => $ocaml_typ:ident {
        $($field:ident : $ocaml_field_typ:ty $(=> $conv_expr:expr)?),+ $(,)?
    }) => { ... };
    ($both_typ:ident {
        $($t:tt)*
    }) => { ... };
}
Expand description

Implements conversion between a Rust struct and an OCaml record.

See the impl_to_ocaml_record! and impl_from_ocaml_record! macros for more details.