Expand description
This crate provides a UnorderedNTuple
, which is a struct that represents unordered tuples of
n homogenous elements.
§Crate Features
std
: Enables dependence onstd
to allow for more featuresserde
: Enabls serializing/deserializing theUnorderedNTuple
struct in serde
By default, both features are enabled.
Structs§
- UnorderedN
Tuple - A type which represents an unordered tuple of N elements (i.e. an unordered pair if N == 2, and unordered triplet if N == 3, and so on).
Type Aliases§
- Unordered
Pair - An
UnorderedPair
is a special subtype ofUnorderedNTuple
for only 2 elements. This has been given its own type for ease of use.