#[derive(VariantIndexArity)]
Expand description
Macro to derive a function fn variant_index_arity(&self) -> (u32, usize)
the pair (variant index, variant arity).
Only works on enumerations, of course.
#[derive(VariantIndexArity)]
Macro to derive a function fn variant_index_arity(&self) -> (u32, usize)
the pair (variant index, variant arity).
Only works on enumerations, of course.