Function tupleops::concat_many[][src]

pub fn concat_many<Tpls>(tpls: Tpls) -> ConcatMany<Tpls> where
    Tpls: TupleConcatMany<Tpls>, 
This is supported on crate feature concat-many only.
Expand description

Concatenate two or more tuples.

use tupleops::concat_many;

assert_eq!(
    concat_many(()),
    (),
);

assert_eq!(
    concat_many(((1, 2, 3),)),
    (1, 2, 3),
);

assert_eq!(
    concat_many(((), (1,), (2, 3,), (4, 5, 6))),
    (1, 2, 3, 4, 5, 6),
);

See also: ConcatMany, TupleConcatMany.