Expand description
A trait for getting the length of tuples at compile time.
This crate provides the TupleLen trait, which allows getting the length
of a tuple as a compile-time typenum::Unsigned type.
Traitsยง
- Pair
Tuple - A marker trait for two-element tuples (size 2).
- Singleton
Tuple - A marker trait for single-element tuples (size 1).
- Tuple
Len - A trait for getting the compile-time length of a tuple.
- Unit
Tuple - A marker trait for empty tuples (size 0).