Attribute Macro enumx

Source
#[enumx]
Expand description

tag an fn with #[enumx] to enable “type pattern matching” in match expressions that are tagged with #[ty_pat]/#[ty_pat(gen_variants)]/#[ty_pat(gen A,B,..)]`.