Macro rpds::ht_map [−][src]
Creates a HashTrieMap
containing the
given arguments:
let m = HashTrieMap::new() .insert(1, "one") .insert(2, "two") .insert(3, "three"); assert_eq!(ht_map![1 => "one", 2 => "two", 3 => "three"], m);
Creates a HashTrieMap
containing the
given arguments:
let m = HashTrieMap::new() .insert(1, "one") .insert(2, "two") .insert(3, "three"); assert_eq!(ht_map![1 => "one", 2 => "two", 3 => "three"], m);