Struct std::iter::ChainExperimental
[-]
[+]
[src]
pub struct Chain<T, U> {
// some fields omitted
}An iterator which strings two iterators together
pub struct Chain<T, U> {
// some fields omitted
}An iterator which strings two iterators together
impl<A, T: Iterator<A>, U: Iterator<A>> Iterator<A> for Chain<T, U>fn next(&mut self) -> Option<A>fn size_hint(&self) -> (uint, Option<uint>)fn size_hint(&self) -> (uint, Option<uint>)fn chain<U: Iterator<A>>(self, U) -> Chain<Chain<T, U>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<Chain<T, U>, U>fn map<B>(self, |A| -> B) -> Map<'r, A, B, Chain<T, U>>fn filter(self, |&A| -> bool) -> Filter<'r, A, Chain<T, U>>fn filter_map<B>(self, |A| -> Option<B>) -> FilterMap<'r, A, B, Chain<T, U>>fn enumerate(self) -> Enumerate<Chain<T, U>>fn peekable(self) -> Peekable<A, Chain<T, U>>fn skip_while(self, |&A| -> bool) -> SkipWhile<'r, A, Chain<T, U>>fn take_while(self, |&A| -> bool) -> TakeWhile<'r, A, Chain<T, U>>fn skip(self, uint) -> Skip<Chain<T, U>>fn take(self, uint) -> Take<Chain<T, U>>fn scan<St, B>(self, St, |&mut St, A| -> Option<B>) -> Scan<'r, A, B, Chain<T, U>, St>fn flat_map<B, U: Iterator<B>>(self, |A| -> U) -> FlatMap<'r, A, Chain<T, U>, U>fn fuse(self) -> Fuse<Chain<T, U>>fn inspect(self, |&A|) -> Inspect<'r, A, Chain<T, U>>fn by_ref(&'r mut self) -> ByRef<'r, Chain<T, U>>fn collect<B: FromIterator<A>>(&mut self) -> Bfn nth(&mut self, uint) -> Option<A>fn last(&mut self) -> Option<A>fn fold<B>(&mut self, B, |B, A| -> B) -> Bfn count(&mut self) -> uintfn all(&mut self, |A| -> bool) -> boolfn any(&mut self, |A| -> bool) -> boolfn find(&mut self, |&A| -> bool) -> Option<A>fn position(&mut self, |A| -> bool) -> Option<uint>fn max_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>fn min_by<B: Ord>(&mut self, |&A| -> B) -> Option<A>impl<A, T: DoubleEndedIterator<A>, U: DoubleEndedIterator<A>> DoubleEndedIterator<A> for Chain<T, U>impl<A, T: RandomAccessIterator<A>, U: RandomAccessIterator<A>> RandomAccessIterator<A> for Chain<T, U>impl<T: Clone, U: Clone> Clone for Chain<T, U>fn clone(&self) -> Chain<T, U>fn clone_from(&mut self, &Chain<T, U>)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).