pub trait Pluck {
type Head;
type Tail;
// Required method
fn pluck(self) -> (Self::Head, Self::Tail);
}Expand description
Helper trait to allow Plucking heads of tuples.
This is the inverse of Prepend
pub trait Pluck {
type Head;
type Tail;
// Required method
fn pluck(self) -> (Self::Head, Self::Tail);
}Helper trait to allow Plucking heads of tuples.
This is the inverse of Prepend