Module tuple

Source
Expand description

Extension for typle types.

All traits in this module are implemented with tuple no longer than 10.

By default, the module only expose implementation for tuple no longer than 5. You can use longer impls by enabling the long-tuple-impl feature.

Note that the TupleConcat trait is only implemented for those types that returns a tuple shorter than 10.

Traitsยง

TupleConcat
Concat two tuples.
TupleInsert
Insert a value into a tuple.
TupleInsertExact
Insert a value into a tuple.
TupleRemove
Remove a value from a tuple.
TupleRemoveExact
Remove a value from a tuple.
TupleZip
Zip a tuple with another single value.