Expand description
A module containing HashSet and associtated types.
Some of these types provide owned and borrowed iteration over a set’s elements while others are iterators over the result of set operations on two HashSets.
As a note, there is no mutable iterator over the elements of a set because mutating the entries in place would cause a logic error.
HashSet is also re-exported under the parent module.
Structs§
- HashSet
- A set of values that prevents duplicates with the help of the
Hashtrait. - Index
NoCap - Into
Iter - A type for owned iteration over a
HashSet. Produces values of typeT. - Iter
- A type for borrowed iteration over a
HashSet. Produces values of type&T.