Type Definition unordered_n_tuple::UnorderedPair[][src]

type UnorderedPair<T> = UnorderedNTuple<T, 2>;

An UnorderedPair is a special subtype of UnorderedNTuple for only 2 elements. This has been given its own type for ease of use.

It can also be converted to or from a tuple (similar impls for larger types will come once generics become stronger).

Trait Implementations

impl<T> From<(T, T)> for UnorderedPair<T>[src]