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