Trait tuple_utils::Pluck[][src]

pub trait Pluck {
    type Head;
    type Tail;
    fn pluck(self) -> (Self::Head, Self::Tail);
}
Expand description

Helper trait to allow Plucking heads of tuples.

This is the inverse of Prepend

Associated Types

Required methods

Split the tuple into the head (Head) and the rest part (Tail)

Implementations on Foreign Types

Implementors