macro_rules! profile { ([$t:ty]$($k:ident=$v:expr)*) => { ... }; ($t:ty{$($k:ident:$v:expr),*$(,)?}) => { ... }; }