Type Alias OpaqueMap
Source pub type OpaqueMap = OpaqueSet;
Expand description
Type alias for OpaqueSet, useful when representing a map.
§Example
let map: HashMap<&str, i32> = [("a", 1), ("b", 2)].into_iter().collect();
assert_eq!(format!("{:?}", OpaqueMap::of(&map)), "{..: 2}");
pub struct OpaqueMap(pub usize);