Crate smolset

Source

Structs§

SmallDifference
Iterator returned upon calling difference.
SmallDrain
Iterator returned upon calling drain.
SmallIntersection
Iterator returned upon calling intersection.
SmallSymmetricDifference
Iterator returned upon calling symmteric_difference.
SmallUnion
Iterator returned upon calling union.
SmolSet
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.
SmolSetIntoIter
Into Iterator of the set returned upon calling into_iter. This is required to be an abstraction over the enum.
SmolSetIter
Iterator of the set returned upon calling iter. This is required to be an abstraction over the enum.

Enums§

InnerSmolSet
Internal (and true) representation of the SmolSet. Created so that user are not aware of the sum type.
InnerSmolSetIntoIter
InnerSmolSetIter
SetMode