Crate tuplities_len

Crate tuplities_len 

Source
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ยง

PairTuple
A marker trait for two-element tuples (size 2).
SingletonTuple
A marker trait for single-element tuples (size 1).
TupleLen
A trait for getting the compile-time length of a tuple.
UnitTuple
A marker trait for empty tuples (size 0).