Trait tuple_utils::PluckTail
source · [−]pub trait PluckTail {
type Head;
type Tail;
fn pluck_tail(self) -> (Self::Head, Self::Tail);
}
Expand description
Helper trait to allow Plucking tails of tuples.
This is the inverse of Append
Required Associated Types
Required Methods
fn pluck_tail(self) -> (Self::Head, Self::Tail)
fn pluck_tail(self) -> (Self::Head, Self::Tail)
Split the tuple into the tail (Tail
) and the rest part (Head
)