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