tuple_len
Get the number of elements in a tuple.
Usage
Add it to your dependencies:
// The macro way, compute at compilation time
assert_eq!;
// The trait way — limited to sized 12 tuple
use TupleLen;
assert_eq!;
// The function way — idem
let tuple = ;
assert_eq!;