Cons

Trait Cons 

Source
pub trait Cons {
    type Head;
    type Tail;

    // Required method
    fn uncons(self) -> (Self::Head, Self::Tail);
}
Expand description

A sequence that can be represented as a cons cell.

Required Associated Types§

Required Methods§

Source

fn uncons(self) -> (Self::Head, Self::Tail)

Implementations on Foreign Types§

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 1]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 2]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 3]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 4]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 5]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 6]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 7]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 8]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 9]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b [A; 10]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a &'b (A,)

Source§

type Head = &'b A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 1]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 2]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 3]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 4]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 5]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 6]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 7]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 8]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 9]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b [A; 10]

Source§

type Head = &'b A

Source§

type Tail = &'b [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A> Cons for &'a mut &'b (A,)

Source§

type Head = &'b A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B> Cons for &'a &'b (A, B)

Source§

type Head = &'b A

Source§

type Tail = (&'b B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B> Cons for &'a mut &'b (A, B)

Source§

type Head = &'b A

Source§

type Tail = (&'b B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C> Cons for &'a &'b (A, B, C)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C> Cons for &'a mut &'b (A, B, C)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D> Cons for &'a &'b (A, B, C, D)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D> Cons for &'a mut &'b (A, B, C, D)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E> Cons for &'a &'b (A, B, C, D, E)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E> Cons for &'a mut &'b (A, B, C, D, E)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F> Cons for &'a &'b (A, B, C, D, E, F)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F> Cons for &'a mut &'b (A, B, C, D, E, F)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G> Cons for &'a &'b (A, B, C, D, E, F, G)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G> Cons for &'a mut &'b (A, B, C, D, E, F, G)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H> Cons for &'a &'b (A, B, C, D, E, F, G, H)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G, &'b H)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H> Cons for &'a mut &'b (A, B, C, D, E, F, G, H)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G, &'b H)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H, I> Cons for &'a &'b (A, B, C, D, E, F, G, H, I)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G, &'b H, &'b I)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H, I> Cons for &'a mut &'b (A, B, C, D, E, F, G, H, I)

Source§

type Head = &'b A

Source§

type Tail = (&'b B, &'b C, &'b D, &'b E, &'b F, &'b G, &'b H, &'b I)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H, I, J> Cons for &'a &'b (A, B, C, D, E, F, G, H, I, J)

Source§

impl<'a, 'b, A, B, C, D, E, F, G, H, I, J> Cons for &'a mut &'b (A, B, C, D, E, F, G, H, I, J)

Source§

impl<'a, A> Cons for &'a [A; 1]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 2]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 3]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 4]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 5]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 6]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 7]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 8]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 9]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A; 10]

Source§

type Head = &'a A

Source§

type Tail = &'a [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a [A]

We treat slices as infinite lists of Option<Item>s.

Source§

type Head = Option<&'a A>

Source§

type Tail = &'a [A]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a (A,)

Source§

type Head = &'a A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 1]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 2]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 3]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 4]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 5]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 6]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 7]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 8]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 9]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A; 10]

Source§

type Head = &'a mut A

Source§

type Tail = &'a mut [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut [A]

We treat slices as infinite lists of Option<Item>s.

Source§

type Head = Option<&'a mut A>

Source§

type Tail = &'a mut [A]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A> Cons for &'a mut (A,)

Source§

type Head = &'a mut A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B> Cons for &'a (A, B)

Source§

type Head = &'a A

Source§

type Tail = (&'a B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B> Cons for &'a mut (A, B)

Source§

type Head = &'a mut A

Source§

type Tail = (&'a mut B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C> Cons for &'a (A, B, C)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C> Cons for &'a mut (A, B, C)

Source§

type Head = &'a mut A

Source§

type Tail = (&'a mut B, &'a mut C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D> Cons for &'a (A, B, C, D)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D> Cons for &'a mut (A, B, C, D)

Source§

impl<'a, A, B, C, D, E> Cons for &'a (A, B, C, D, E)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D, &'a E)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D, E> Cons for &'a mut (A, B, C, D, E)

Source§

impl<'a, A, B, C, D, E, F> Cons for &'a (A, B, C, D, E, F)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D, &'a E, &'a F)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D, E, F> Cons for &'a mut (A, B, C, D, E, F)

Source§

impl<'a, A, B, C, D, E, F, G> Cons for &'a (A, B, C, D, E, F, G)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D, &'a E, &'a F, &'a G)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D, E, F, G> Cons for &'a mut (A, B, C, D, E, F, G)

Source§

impl<'a, A, B, C, D, E, F, G, H> Cons for &'a (A, B, C, D, E, F, G, H)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D, E, F, G, H> Cons for &'a mut (A, B, C, D, E, F, G, H)

Source§

impl<'a, A, B, C, D, E, F, G, H, I> Cons for &'a (A, B, C, D, E, F, G, H, I)

Source§

type Head = &'a A

Source§

type Tail = (&'a B, &'a C, &'a D, &'a E, &'a F, &'a G, &'a H, &'a I)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'a, A, B, C, D, E, F, G, H, I> Cons for &'a mut (A, B, C, D, E, F, G, H, I)

Source§

impl<'a, A, B, C, D, E, F, G, H, I, J> Cons for &'a (A, B, C, D, E, F, G, H, I, J)

Source§

impl<'a, A, B, C, D, E, F, G, H, I, J> Cons for &'a mut (A, B, C, D, E, F, G, H, I, J)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 1]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 2]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 3]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 4]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 5]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 6]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 7]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 8]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 9]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 10]

Source§

type Head = &'b mut A

Source§

type Tail = &'b mut [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut (A,)

Source§

type Head = &'b mut A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A, B> Cons for &'a mut &'b mut (A, B)

Source§

type Head = &'b mut A

Source§

type Tail = (&'b mut B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A, B, C> Cons for &'a mut &'b mut (A, B, C)

Source§

type Head = &'b mut A

Source§

type Tail = (&'b mut B, &'b mut C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<'b, 'a: 'b, A, B, C, D> Cons for &'a mut &'b mut (A, B, C, D)

Source§

impl<'b, 'a: 'b, A, B, C, D, E> Cons for &'a mut &'b mut (A, B, C, D, E)

Source§

impl<'b, 'a: 'b, A, B, C, D, E, F> Cons for &'a mut &'b mut (A, B, C, D, E, F)

Source§

impl<'b, 'a: 'b, A, B, C, D, E, F, G> Cons for &'a mut &'b mut (A, B, C, D, E, F, G)

Source§

impl<'b, 'a: 'b, A, B, C, D, E, F, G, H> Cons for &'a mut &'b mut (A, B, C, D, E, F, G, H)

Source§

impl<'b, 'a: 'b, A, B, C, D, E, F, G, H, I> Cons for &'a mut &'b mut (A, B, C, D, E, F, G, H, I)

Source§

impl<'b, 'a: 'b, A, B, C, D, E, F, G, H, I, J> Cons for &'a mut &'b mut (A, B, C, D, E, F, G, H, I, J)

Source§

impl<A> Cons for [A; 1]

Source§

type Head = A

Source§

type Tail = [A; 0]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 2]

Source§

type Head = A

Source§

type Tail = [A; 1]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 3]

Source§

type Head = A

Source§

type Tail = [A; 2]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 4]

Source§

type Head = A

Source§

type Tail = [A; 3]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 5]

Source§

type Head = A

Source§

type Tail = [A; 4]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 6]

Source§

type Head = A

Source§

type Tail = [A; 5]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 7]

Source§

type Head = A

Source§

type Tail = [A; 6]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 8]

Source§

type Head = A

Source§

type Tail = [A; 7]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 9]

Source§

type Head = A

Source§

type Tail = [A; 8]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for [A; 10]

Source§

type Head = A

Source§

type Tail = [A; 9]

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A> Cons for (A,)

Source§

type Head = A

Source§

type Tail = ()

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B> Cons for (A, B)

Source§

type Head = A

Source§

type Tail = (B,)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C> Cons for (A, B, C)

Source§

type Head = A

Source§

type Tail = (B, C)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D> Cons for (A, B, C, D)

Source§

type Head = A

Source§

type Tail = (B, C, D)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D, E> Cons for (A, B, C, D, E)

Source§

type Head = A

Source§

type Tail = (B, C, D, E)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D, E, F> Cons for (A, B, C, D, E, F)

Source§

type Head = A

Source§

type Tail = (B, C, D, E, F)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D, E, F, G> Cons for (A, B, C, D, E, F, G)

Source§

type Head = A

Source§

type Tail = (B, C, D, E, F, G)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D, E, F, G, H> Cons for (A, B, C, D, E, F, G, H)

Source§

type Head = A

Source§

type Tail = (B, C, D, E, F, G, H)

Source§

fn uncons(self) -> (Self::Head, Self::Tail)

Source§

impl<A, B, C, D, E, F, G, H, I> Cons for (A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J> Cons for (A, B, C, D, E, F, G, H, I, J)

Implementors§