stdx

Trait TupleExt

source
pub trait TupleExt {
    type Head;
    type Tail;

    // Required methods
    fn head(self) -> Self::Head;
    fn tail(self) -> Self::Tail;
}

Required Associated Types§

Required Methods§

source

fn head(self) -> Self::Head

source

fn tail(self) -> Self::Tail

Implementations on Foreign Types§

source§

impl<T, U> TupleExt for (T, U)

source§

type Head = T

source§

type Tail = U

source§

fn head(self) -> Self::Head

source§

fn tail(self) -> Self::Tail

source§

impl<T, U, V> TupleExt for (T, U, V)

source§

type Head = T

source§

type Tail = V

source§

fn head(self) -> Self::Head

source§

fn tail(self) -> Self::Tail

Implementors§