pub const fn split_tuple_into<L, R>(tuple: ConcatTuples<L, R>) -> (L, R)Expand description
A trait for splitting a tuple up into two parts given a specified left part L and right part R. L and R must be the left and right part of Self.
Tuples will be split into parts L and R.
ยงExample
let t = (1, 1.0, "test");
let (l, r) = tuple_split::split_tuple_into::<(u8, f32), (&str,)>(t);
assert_eq!(t, tupleops::concat_tuples(l, r));