Trait tool::sequence::Cons
[−]
[src]
pub trait Cons { type Head; type Tail; fn uncons(self) -> (Self::Head, Self::Tail); }
A sequence that can be represented as a cons cell.
Associated Types
Required Methods
Implementors
impl<'a, A> Cons for &'a [A]
impl<'a, A> Cons for &'a mut [A]
impl<A, B, C, D, E, F, G, H, I, J> Cons for (A, B, C, D, E, F, G, H, I, J)
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)
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)
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)
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)
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)
impl<A> Cons for [A; 10]
impl<'a, A> Cons for &'a [A; 10]
impl<'a, A> Cons for &'a mut [A; 10]
impl<'a, 'b, A> Cons for &'a &'b [A; 10]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 10]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 10]
impl<A, B, C, D, E, F, G, H, I> Cons for (A, B, C, D, E, F, G, H, I)
impl<'a, A, B, C, D, E, F, G, H, I> Cons for &'a (A, B, C, D, E, F, G, H, I)
impl<'a, A, B, C, D, E, F, G, H, I> Cons for &'a mut (A, B, C, D, E, F, G, H, I)
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)
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)
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)
impl<A> Cons for [A; 9]
impl<'a, A> Cons for &'a [A; 9]
impl<'a, A> Cons for &'a mut [A; 9]
impl<'a, 'b, A> Cons for &'a &'b [A; 9]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 9]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 9]
impl<A, B, C, D, E, F, G, H> Cons for (A, B, C, D, E, F, G, H)
impl<'a, A, B, C, D, E, F, G, H> Cons for &'a (A, B, C, D, E, F, G, H)
impl<'a, A, B, C, D, E, F, G, H> Cons for &'a mut (A, B, C, D, E, F, G, H)
impl<'a, 'b, A, B, C, D, E, F, G, H> Cons for &'a &'b (A, B, C, D, E, F, G, H)
impl<'a, 'b, A, B, C, D, E, F, G, H> Cons for &'a mut &'b (A, B, C, D, E, F, G, H)
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)
impl<A> Cons for [A; 8]
impl<'a, A> Cons for &'a [A; 8]
impl<'a, A> Cons for &'a mut [A; 8]
impl<'a, 'b, A> Cons for &'a &'b [A; 8]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 8]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 8]
impl<A, B, C, D, E, F, G> Cons for (A, B, C, D, E, F, G)
impl<'a, A, B, C, D, E, F, G> Cons for &'a (A, B, C, D, E, F, G)
impl<'a, A, B, C, D, E, F, G> Cons for &'a mut (A, B, C, D, E, F, G)
impl<'a, 'b, A, B, C, D, E, F, G> Cons for &'a &'b (A, B, C, D, E, F, G)
impl<'a, 'b, A, B, C, D, E, F, G> Cons for &'a mut &'b (A, B, C, D, E, F, G)
impl<'b, 'a: 'b, A, B, C, D, E, F, G> Cons for &'a mut &'b mut (A, B, C, D, E, F, G)
impl<A> Cons for [A; 7]
impl<'a, A> Cons for &'a [A; 7]
impl<'a, A> Cons for &'a mut [A; 7]
impl<'a, 'b, A> Cons for &'a &'b [A; 7]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 7]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 7]
impl<A, B, C, D, E, F> Cons for (A, B, C, D, E, F)
impl<'a, A, B, C, D, E, F> Cons for &'a (A, B, C, D, E, F)
impl<'a, A, B, C, D, E, F> Cons for &'a mut (A, B, C, D, E, F)
impl<'a, 'b, A, B, C, D, E, F> Cons for &'a &'b (A, B, C, D, E, F)
impl<'a, 'b, A, B, C, D, E, F> Cons for &'a mut &'b (A, B, C, D, E, F)
impl<'b, 'a: 'b, A, B, C, D, E, F> Cons for &'a mut &'b mut (A, B, C, D, E, F)
impl<A> Cons for [A; 6]
impl<'a, A> Cons for &'a [A; 6]
impl<'a, A> Cons for &'a mut [A; 6]
impl<'a, 'b, A> Cons for &'a &'b [A; 6]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 6]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 6]
impl<A, B, C, D, E> Cons for (A, B, C, D, E)
impl<'a, A, B, C, D, E> Cons for &'a (A, B, C, D, E)
impl<'a, A, B, C, D, E> Cons for &'a mut (A, B, C, D, E)
impl<'a, 'b, A, B, C, D, E> Cons for &'a &'b (A, B, C, D, E)
impl<'a, 'b, A, B, C, D, E> Cons for &'a mut &'b (A, B, C, D, E)
impl<'b, 'a: 'b, A, B, C, D, E> Cons for &'a mut &'b mut (A, B, C, D, E)
impl<A> Cons for [A; 5]
impl<'a, A> Cons for &'a [A; 5]
impl<'a, A> Cons for &'a mut [A; 5]
impl<'a, 'b, A> Cons for &'a &'b [A; 5]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 5]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 5]
impl<A, B, C, D> Cons for (A, B, C, D)
impl<'a, A, B, C, D> Cons for &'a (A, B, C, D)
impl<'a, A, B, C, D> Cons for &'a mut (A, B, C, D)
impl<'a, 'b, A, B, C, D> Cons for &'a &'b (A, B, C, D)
impl<'a, 'b, A, B, C, D> Cons for &'a mut &'b (A, B, C, D)
impl<'b, 'a: 'b, A, B, C, D> Cons for &'a mut &'b mut (A, B, C, D)
impl<A> Cons for [A; 4]
impl<'a, A> Cons for &'a [A; 4]
impl<'a, A> Cons for &'a mut [A; 4]
impl<'a, 'b, A> Cons for &'a &'b [A; 4]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 4]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 4]
impl<A, B, C> Cons for (A, B, C)
impl<'a, A, B, C> Cons for &'a (A, B, C)
impl<'a, A, B, C> Cons for &'a mut (A, B, C)
impl<'a, 'b, A, B, C> Cons for &'a &'b (A, B, C)
impl<'a, 'b, A, B, C> Cons for &'a mut &'b (A, B, C)
impl<'b, 'a: 'b, A, B, C> Cons for &'a mut &'b mut (A, B, C)
impl<A> Cons for [A; 3]
impl<'a, A> Cons for &'a [A; 3]
impl<'a, A> Cons for &'a mut [A; 3]
impl<'a, 'b, A> Cons for &'a &'b [A; 3]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 3]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 3]
impl<A, B> Cons for (A, B)
impl<'a, A, B> Cons for &'a (A, B)
impl<'a, A, B> Cons for &'a mut (A, B)
impl<'a, 'b, A, B> Cons for &'a &'b (A, B)
impl<'a, 'b, A, B> Cons for &'a mut &'b (A, B)
impl<'b, 'a: 'b, A, B> Cons for &'a mut &'b mut (A, B)
impl<A> Cons for [A; 2]
impl<'a, A> Cons for &'a [A; 2]
impl<'a, A> Cons for &'a mut [A; 2]
impl<'a, 'b, A> Cons for &'a &'b [A; 2]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 2]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 2]
impl<A> Cons for (A,)
impl<'a, A> Cons for &'a (A,)
impl<'a, A> Cons for &'a mut (A,)
impl<'a, 'b, A> Cons for &'a &'b (A,)
impl<'a, 'b, A> Cons for &'a mut &'b (A,)
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut (A,)
impl<A> Cons for [A; 1]
impl<'a, A> Cons for &'a [A; 1]
impl<'a, A> Cons for &'a mut [A; 1]
impl<'a, 'b, A> Cons for &'a &'b [A; 1]
impl<'a, 'b, A> Cons for &'a mut &'b [A; 1]
impl<'b, 'a: 'b, A> Cons for &'a mut &'b mut [A; 1]