map

Macro map 

Source
macro_rules! map {
    ($name:ident, &key: ty, &val: ty) => { ... };
    ($($key:expr => $val:expr),* $(,)?) => { ... };
}
Expand description

A macro to create a HashMap with the given key-value pairs.