Type Definition tupleops::Prepend [−][src]
pub type Prepend<Head, Tail> = <(Head, Tail) as TuplePrepend<Head, Tail>>::Type;
This is supported on crate feature
prepend
only.Expand description
The resulting type when an element is prepended to a tuple.
use same_types::assert_same_types;
use tupleops::Prepend;
assert_same_types!(
Prepend<u8, (u16, u32)>,
(u8, u16, u32),
);
See also: prepend(), TuplePrepend.