nummap
macro_rules! map { ($(($k:expr, $v:expr $(,)? ),)* ; $tp:ty) => { ... }; ($(($k:expr, $v:expr $(,)? )),* ; $tp:ty) => { ... }; ($($t:tt)*) => { ... }; }
Creates a NumMap in a simiar manner to vec![].
NumMap
vec![]
The specific BuildHasher to use can be specified after the mappings.
BuildHasher
map![(0, 1), (2, 3); std::collections::hash_map::RandomState];