Type Definition tupleops::Init [−][src]
pub type Init<Tpl> = <Tpl as TupleUnappend<Tpl>>::Init;
This is supported on crate feature
unappend
only.Expand description
The resulting tuple when the last element is removed from a tuple.
use same_types::assert_same_types;
use tupleops::Init;
assert_same_types!(
Init<(u8, u16, u32)>,
(u8, u16),
);
See also: unappend(), Last, TupleUnappend.