macro_rules! flag { (@$($t:tt)*) => { ... }; (&$($t:tt)+) => { ... }; (*$($t:tt)+) => { ... }; ($($t:tt)*) => { ... }; }
Helps for creating flag.