macro_rules! hashmap { { $($key:expr => $value:expr),* $(,)? } => { ... }; ($hm:ident, { $($key:expr => $value:expr),* $(,)? } ) => { ... }; }