ConcatMany

Type Alias ConcatMany 

Source
pub type ConcatMany<Tpls> = <Tpls as TupleConcatMany<Tpls>>::Type;
Available on crate feature concat-many only.
Expand description

The resulting type when two or more tuples are concatenated.

use same_types::assert_same_types;
use tupleops::ConcatMany;

assert_same_types!(
    ConcatMany<()>,
    ()
);

assert_same_types!(
    ConcatMany<((u8, u16),)>,
    (u8, u16)
);

assert_same_types!(
    ConcatMany<((u8, u16), (u32, u64), (i8, i16), (i32, i64))>,
    (u8, u16, u32, u64, i8, i16, i32, i64)
);

See also: concat_many(), TupleConcatMany.