Struct std::iter::ByRefExperimental
[-]
[+]
[src]
pub struct ByRef<'a, T: 'a> {
// some fields omitted
}A mutable reference to an iterator
pub struct ByRef<'a, T: 'a> {
// some fields omitted
}A mutable reference to an iterator
impl<'a, A, T: Iterator<A> + 'a> Iterator<A> for ByRef<'a, T>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<ByRef<'a, T>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<ByRef<'a, T>, U>fn map<B>(self, |A| -> B) -> Map<'r, A, B, ByRef<'a, T>>fn filter(self, |&A| -> bool) -> Filter<'r, A, ByRef<'a, T>>fn filter_map<B>(self, |A| -> Option<B>) -> FilterMap<'r, A, B, ByRef<'a, T>>fn enumerate(self) -> Enumerate<ByRef<'a, T>>fn peekable(self) -> Peekable<A, ByRef<'a, T>>fn skip_while(self, |&A| -> bool) -> SkipWhile<'r, A, ByRef<'a, T>>fn take_while(self, |&A| -> bool) -> TakeWhile<'r, A, ByRef<'a, T>>fn skip(self, uint) -> Skip<ByRef<'a, T>>fn take(self, uint) -> Take<ByRef<'a, T>>fn scan<St, B>(self, St, |&mut St, A| -> Option<B>) -> Scan<'r, A, B, ByRef<'a, T>, St>fn flat_map<B, U: Iterator<B>>(self, |A| -> U) -> FlatMap<'r, A, ByRef<'a, T>, U>fn fuse(self) -> Fuse<ByRef<'a, T>>fn inspect(self, |&A|) -> Inspect<'r, A, ByRef<'a, T>>fn by_ref(&'r mut self) -> ByRef<'r, ByRef<'a, T>>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, A, T: DoubleEndedIterator<A> + 'a> DoubleEndedIterator<A> for ByRef<'a, T>
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).