This crate is an extension for the tupleops crate, which adds a trait for splitting tuples by index.
Tuples which may be split at index MIDDLE have the trait TupleSplit, which, when split, returns (TupleSplit::Left, TupleSplit::Right).
Type alias Left and Right equal TupleSplit::Left and TupleSplit::Right respectively. fpr any tuple which implements TupleSplit at the given MIDDLE.
The trait alias SplitLeftInto is implemented for any tuple which may be split where TupleSplit::Left = L.
The trait alias SplitRightInto is implemented for any tuple which may be split where TupleSplit::Right = R.
The trait alias SplitInto is implemented for any tuple which may be split where TupleSplit::Left = L and TupleSplit::Right = R.
use concat_tuples;
use *;
let t: = ;
let : = split_tuple;
assert_eq!;
let : = ;
assert_eq!;