Struct std::iter::Inspect[src]
pub struct Inspect<'a, A, T> {
// some fields omitted
}An iterator that calls a function with a reference to each element before yielding it.
pub struct Inspect<'a, A, T> {
// some fields omitted
}An iterator that calls a function with a reference to each element before yielding it.
impl<'a, A, T: ExactSize<A>> ExactSize<A> for Inspect<'a, A, T>fn rposition<'a, A, T: ExactSize<A>>(&mut self, |A| -> bool) -> Option<uint>fn len<'a, A, T: ExactSize<A>>(&self) -> uintimpl<'a, A, T: Iterator<A>> Iterator<A> for Inspect<'a, A, T>fn next<'a, A, T: Iterator<A>>(&mut self) -> Option<A>fn size_hint<'a, A, T: Iterator<A>>(&self) -> (uint, Option<uint>)fn size_hint<'a, A, T: Iterator<A>>(&self) -> (uint, Option<uint>)fn chain<U: Iterator<A>>(self, U) -> Chain<Inspect<'a, A, T>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<Inspect<'a, A, T>, U>fn map<B>(self, |A|: 'r -> B) -> Map<'r, A, B, Inspect<'a, A, T>>fn filter<'a, A, T: Iterator<A>>(self, |&A|: 'r -> bool) -> Filter<'r, A, Inspect<'a, A, T>>fn filter_map<B>(self, |A|: 'r -> Option<B>) -> FilterMap<'r, A, B, Inspect<'a, A, T>>fn enumerate<'a, A, T: Iterator<A>>(self) -> Enumerate<Inspect<'a, A, T>>fn peekable<'a, A, T: Iterator<A>>(self) -> Peekable<A, Inspect<'a, A, T>>fn skip_while<'a, A, T: Iterator<A>>(self, |&A|: 'r -> bool) -> SkipWhile<'r, A, Inspect<'a, A, T>>fn take_while<'a, A, T: Iterator<A>>(self, |&A|: 'r -> bool) -> TakeWhile<'r, A, Inspect<'a, A, T>>fn skip<'a, A, T: Iterator<A>>(self, uint) -> Skip<Inspect<'a, A, T>>fn take<'a, A, T: Iterator<A>>(self, uint) -> Take<Inspect<'a, A, T>>fn scan<St, B>(self, St, |&mut St, A|: 'r -> Option<B>) -> Scan<'r, A, B, Inspect<'a, A, T>, St>fn flat_map<B, U: Iterator<B>>(self, |A|: 'r -> U) -> FlatMap<'r, A, Inspect<'a, A, T>, U>fn fuse<'a, A, T: Iterator<A>>(self) -> Fuse<Inspect<'a, A, T>>fn inspect<'a, A, T: Iterator<A>>(self, |&A|: 'r) -> Inspect<'r, A, Inspect<'a, A, T>>fn by_ref<'a, A, T: Iterator<A>>(&'r mut self) -> ByRef<'r, Inspect<'a, A, T>>fn advance<'a, A, T: Iterator<A>>(&mut self, |A| -> bool) -> boolfn collect<B: FromIterator<A>>(&mut self) -> Bfn nth<'a, A, T: Iterator<A>>(&mut self, uint) -> Option<A>fn last<'a, A, T: Iterator<A>>(&mut self) -> Option<A>fn fold<B>(&mut self, B, |B, A| -> B) -> Bfn count<'a, A, T: Iterator<A>>(&mut self) -> uintfn all<'a, A, T: Iterator<A>>(&mut self, |A| -> bool) -> boolfn any<'a, A, T: Iterator<A>>(&mut self, |A| -> bool) -> boolfn find<'a, A, T: Iterator<A>>(&mut self, |&A| -> bool) -> Option<A>fn position<'a, A, T: Iterator<A>>(&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, A, T: DoubleEndedIterator<A>> DoubleEndedIterator<A> for Inspect<'a, A, T>fn next_back<'a, A, T: DoubleEndedIterator<A>>(&mut self) -> Option<A>fn rev<'a, A, T: DoubleEndedIterator<A>>(self) -> Rev<Inspect<'a, A, T>>impl<'a, A, T: RandomAccessIterator<A>> RandomAccessIterator<A> for Inspect<'a, A, T>fn indexable<'a, A, T: RandomAccessIterator<A>>(&self) -> uintfn idx<'a, A, T: RandomAccessIterator<A>>(&mut self, index: uint) -> Option<A>
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 (or str), enum,
trait, typedef (or
tdef).