Struct std::iter::ChainStable [-] [+] [src]

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Chain<A, B> {
    // some fields omitted
}

An iterator that strings two iterators together

Trait Implementations

impl<T, A, B> Iterator for Chain<A, B> where A: Iterator, <A as Iterator>::Item == T, B: Iterator, <B as Iterator>::Item == T

type Item = T

fn next(&mut self) -> Option<T>

fn size_hint(&self) -> (usize, Option<usize>)

fn size_hint(&self) -> (usize, Option<usize>)

impl<T, A, B> DoubleEndedIterator for Chain<A, B> where A: DoubleEndedIterator, <A as Iterator>::Item == T, B: DoubleEndedIterator, <B as Iterator>::Item == T

fn next_back(&mut self) -> Option<T>

impl<T, A, B> RandomAccessIterator for Chain<A, B> where A: RandomAccessIterator, <A as Iterator>::Item == T, B: RandomAccessIterator, <B as Iterator>::Item == T

fn indexable(&self) -> usize

fn idx(&mut self, index: usize) -> Option<T>

Derived Implementations

impl<A, B> Clone for Chain<A, B> where A: Clone, B: Clone

fn clone(&self) -> Chain<A, B>

fn clone_from(&mut self, &Chain<A, B>)