Crate smolset[−][src]
Structs
Iterator returned upon calling difference
.
Iterator returned upon calling drain
.
Iterator returned upon calling intersection
.
Iterator returned upon calling symmteric_difference
.
Iterator returned upon calling union
.
A SmolSet
is an unordered set of elements. It is designed to work best
for very small sets (no more than ten or so elements). In order to support
small sets very efficiently, it stores elements in a simple unordered array.
When the set is smaller than the size of the array A
, all elements are
stored inline, without heap allocation. This is accomplished by using a
smallvec::SmallVec
.
Into Iterator of the set returned upon calling into_iter
.
This is required to be an abstraction over the enum.
Iterator of the set returned upon calling iter
.
This is required to be an abstraction over the enum.
Enums
Internal (and true) representation of the SmolSet
.
Created so that user are not aware of the sum type.