macro_rules! commands {
(->$($raw:tt)*) => { ... };
() => { ... };
(None) => { ... };
($([$($cmd:tt)+]$(,)?)+) => { ... };
($($expr:expr),+;:Command$(,)?) => { ... };
($($expr:expr),+ $(,)?;:Command$(,)?) => { ... };
($($expr:expr),*$(,)?) => { ... };
}
Expand description
create command array