Macro veloren_common::make_case_elim
source ยท macro_rules! make_case_elim { ($mod:ident, $( #[ $ty_attr:meta ] )* $vis:vis enum $ty:ident { $( $( #[$( $constr_attr:tt )*] )* $constr:ident $( ( $( $arg_name:ident : $arg_ty:ty ),* ) )? = $index:expr ),* $(,)? }) => { ... }; }