[−][src]Crate mset
A hash multiset implemented as a HashMap
where the value is usize
.
A mset, multiset, or bag is a set that allows multiple occurances of an
element. This implementation is backed by an underlying HashMap
instance
and supports an API similar to set with some additions to make multiple
additions and removals easier and a Clone
constraint for efficiency of
storage.
See the MultiSet
struct documentation for more examples and specific
constraints.
Structs
Difference | A lazy iterator producing elements in the difference of |
Drain | |
ElementCounts | An iterator over the element counts of a |
Intersection | A lazy iterator producing elements in the intersection of |
IntoIter | An owning iterator over the items of a |
Iter | An iterator over the items of a |
MultiSet | A hash multiset implemented as a |
SymmetricDifference | A lazy iterator producing elements in the symmetric difference of
|
Union | A lazy iterator producing elements in the union of |