Macro im_rc::hashmap [−][src]
Construct a hash map from a sequence of key/value pairs.
Examples
assert_eq!( hashmap!{ 1 => 11, 2 => 22, 3 => 33 }, HashMap::from(vec![(1, 11), (2, 22), (3, 33)]) );
Construct a hash map from a sequence of key/value pairs.
assert_eq!( hashmap!{ 1 => 11, 2 => 22, 3 => 33 }, HashMap::from(vec![(1, 11), (2, 22), (3, 33)]) );