macro_rules! build_dtype_macros {
(
$(#[$definer_attrs: meta])*
$definer: ident,
$(#[$matcher_attrs: meta])*
$matcher: ident,
$constraint: path,
{$($variant: ident => $t: ty,)+}$(,)?
) => { ... };
}Expand description
Produces two macros: an enum definer and an enum matcher.
See the crate-level documentation for more info.