Expand description
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
A lazy iterator producing elements in the difference of
MultiSet
s.An iterator over the element counts of a
MultiSet
.A lazy iterator producing elements in the intersection of
MultiSet
s.An owning iterator over the items of a
MultiSet
.An iterator over the items of a
MultiSet
.A hash multiset implemented as a
HashMap
where the value is usize
.A lazy iterator producing elements in the symmetric difference of
MultiSet
s.A lazy iterator producing elements in the union of
MultiSet
s.Type Definitions
An iterator over the elements of a
MultiSet
.