Struct std::iter::ZipExperimental
[-]
[+]
[src]
pub struct Zip<T, U> {
// some fields omitted
}An iterator which iterates two other iterators simultaneously
pub struct Zip<T, U> {
// some fields omitted
}An iterator which iterates two other iterators simultaneously
impl<A, B, T: ExactSize<A>, U: ExactSize<B>> ExactSize<(A, B)> for Zip<T, U>impl<A, B, T: Iterator<A>, U: Iterator<B>> Iterator<(A, B)> for Zip<T, U>fn next(&mut self) -> Option<(A, B)>fn size_hint(&self) -> (uint, Option<uint>)fn size_hint(&self) -> (uint, Option<uint>)fn chain<U: Iterator<(A, B)>>(self, U) -> Chain<Zip<T, U>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<Zip<T, U>, U>fn map<B>(self, |(A, B)| -> B) -> Map<'r, (A, B), B, Zip<T, U>>fn filter(self, |&(A, B)| -> bool) -> Filter<'r, (A, B), Zip<T, U>>fn filter_map<B>(self, |(A, B)| -> Option<B>) -> FilterMap<'r, (A, B), B, Zip<T, U>>fn enumerate(self) -> Enumerate<Zip<T, U>>fn peekable(self) -> Peekable<(A, B), Zip<T, U>>fn skip_while(self, |&(A, B)| -> bool) -> SkipWhile<'r, (A, B), Zip<T, U>>fn take_while(self, |&(A, B)| -> bool) -> TakeWhile<'r, (A, B), Zip<T, U>>fn skip(self, uint) -> Skip<Zip<T, U>>fn take(self, uint) -> Take<Zip<T, U>>fn scan<St, B>(self, St, |&mut St, (A, B)| -> Option<B>) -> Scan<'r, (A, B), B, Zip<T, U>, St>fn flat_map<B, U: Iterator<B>>(self, |(A, B)| -> U) -> FlatMap<'r, (A, B), Zip<T, U>, U>fn fuse(self) -> Fuse<Zip<T, U>>fn inspect(self, |&(A, B)|) -> Inspect<'r, (A, B), Zip<T, U>>fn by_ref(&'r mut self) -> ByRef<'r, Zip<T, U>>fn collect<B: FromIterator<(A, B)>>(&mut self) -> Bfn nth(&mut self, uint) -> Option<(A, B)>fn last(&mut self) -> Option<(A, B)>fn fold<B>(&mut self, B, |B, (A, B)| -> B) -> Bfn count(&mut self) -> uintfn all(&mut self, |(A, B)| -> bool) -> boolfn any(&mut self, |(A, B)| -> bool) -> boolfn find(&mut self, |&(A, B)| -> bool) -> Option<(A, B)>fn position(&mut self, |(A, B)| -> bool) -> Option<uint>fn max_by<B: Ord>(&mut self, |&(A, B)| -> B) -> Option<(A, B)>fn min_by<B: Ord>(&mut self, |&(A, B)| -> B) -> Option<(A, B)>impl<A, B, T: ExactSize<A>, U: ExactSize<B>> DoubleEndedIterator<(A, B)> for Zip<T, U>impl<A, B, T: RandomAccessIterator<A>, U: RandomAccessIterator<B>> RandomAccessIterator<(A, B)> for Zip<T, U>impl<T: Clone, U: Clone> Clone for Zip<T, U>fn clone(&self) -> Zip<T, U>fn clone_from(&mut self, &Zip<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).