Struct std::collections::ringbuf::Items[src]

pub struct Items<'a, T> {
    // some fields omitted
}

RingBuf iterator

Trait Implementations

impl<'a, T> Iterator<&'a T> for Items<'a, T>

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

fn size_hint<'a, T>(&self) -> (uint, Option<uint>)

fn size_hint<'a, T>(&self) -> (uint, Option<uint>)

fn chain<U: Iterator<&'a T>>(self, U) -> Chain<Items<'a, T>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<Items<'a, T>, U>

fn map<B>(self, |&'a T|: 'r -> B) -> Map<'r, &'a T, B, Items<'a, T>>

fn filter<'a, T>(self, |&&'a T|: 'r -> bool) -> Filter<'r, &'a T, Items<'a, T>>

fn filter_map<B>(self, |&'a T|: 'r -> Option<B>) -> FilterMap<'r, &'a T, B, Items<'a, T>>

fn enumerate<'a, T>(self) -> Enumerate<Items<'a, T>>

fn peekable<'a, T>(self) -> Peekable<&'a T, Items<'a, T>>

fn skip_while<'a, T>(self, |&&'a T|: 'r -> bool) -> SkipWhile<'r, &'a T, Items<'a, T>>

fn take_while<'a, T>(self, |&&'a T|: 'r -> bool) -> TakeWhile<'r, &'a T, Items<'a, T>>

fn skip<'a, T>(self, uint) -> Skip<Items<'a, T>>

fn take<'a, T>(self, uint) -> Take<Items<'a, T>>

fn scan<St, B>(self, St, |&mut St, &'a T|: 'r -> Option<B>) -> Scan<'r, &'a T, B, Items<'a, T>, St>

fn flat_map<B, U: Iterator<B>>(self, |&'a T|: 'r -> U) -> FlatMap<'r, &'a T, Items<'a, T>, U>

fn fuse<'a, T>(self) -> Fuse<Items<'a, T>>

fn inspect<'a, T>(self, |&&'a T|: 'r) -> Inspect<'r, &'a T, Items<'a, T>>

fn by_ref<'a, T>(&'r mut self) -> ByRef<'r, Items<'a, T>>

fn advance<'a, T>(&mut self, |&'a T| -> bool) -> bool

fn collect<B: FromIterator<&'a T>>(&mut self) -> B

fn nth<'a, T>(&mut self, uint) -> Option<&'a T>

fn last<'a, T>(&mut self) -> Option<&'a T>

fn fold<B>(&mut self, B, |B, &'a T| -> B) -> B

fn count<'a, T>(&mut self) -> uint

fn all<'a, T>(&mut self, |&'a T| -> bool) -> bool

fn any<'a, T>(&mut self, |&'a T| -> bool) -> bool

fn find<'a, T>(&mut self, |&&'a T| -> bool) -> Option<&'a T>

fn position<'a, T>(&mut self, |&'a T| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&&'a T| -> B) -> Option<&'a T>

fn min_by<B: Ord>(&mut self, |&&'a T| -> B) -> Option<&'a T>

impl<'a, T> DoubleEndedIterator<&'a T> for Items<'a, T>

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

fn rev<'a, T>(self) -> Rev<Items<'a, T>>

impl<'a, T> ExactSize<&'a T> for Items<'a, T>

fn rposition<'a, T>(&mut self, |&'a T| -> bool) -> Option<uint>

fn len<'a, T>(&self) -> uint

impl<'a, T> RandomAccessIterator<&'a T> for Items<'a, T>

fn indexable<'a, T>(&self) -> uint

fn idx<'a, T>(&mut self, j: uint) -> Option<&'a T>