Macro hash_map
Source macro_rules! hash_map {
() => { ... };
($($key:expr => $val:expr),*) => { ... };
}
Expand description
Creates a new hash map instance.
§Arguments
expr
- The key-value pairs to initialize the hash map.
§Returns
HashMap<K, V>
- A new hash map containing the given key-value pairs.