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