macro_rules! map {
() => { ... };
($(||)+) => { ... };
($($k: expr => $v: expr),+ $(,)*) => { ... };
}Expand description
HashMap literal, e.g. map!{1 => 2}.
map!(||) returns the HashMap::new constructor itself.
macro_rules! map {
() => { ... };
($(||)+) => { ... };
($($k: expr => $v: expr),+ $(,)*) => { ... };
}HashMap literal, e.g. map!{1 => 2}.
map!(||) returns the HashMap::new constructor itself.