Struct std::slice::ItemsExperimental
[-]
[+]
[src]
pub struct Items<'a, T: 'a> {
// some fields omitted
}Immutable slice iterator
pub struct Items<'a, T: 'a> {
// some fields omitted
}Immutable slice iterator
impl<'a, T> Iterator<&'a T> for Items<'a, T>fn next(&mut self) -> Option<&'a T>fn size_hint(&self) -> (uint, Option<uint>)fn size_hint(&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| -> B) -> Map<'r, &'a T, B, Items<'a, T>>fn filter(self, |&&'a T| -> bool) -> Filter<'r, &'a T, Items<'a, T>>fn filter_map<B>(self, |&'a T| -> Option<B>) -> FilterMap<'r, &'a T, B, Items<'a, T>>fn enumerate(self) -> Enumerate<Items<'a, T>>fn peekable(self) -> Peekable<&'a T, Items<'a, T>>fn skip_while(self, |&&'a T| -> bool) -> SkipWhile<'r, &'a T, Items<'a, T>>fn take_while(self, |&&'a T| -> bool) -> TakeWhile<'r, &'a T, Items<'a, T>>fn skip(self, uint) -> Skip<Items<'a, T>>fn take(self, uint) -> Take<Items<'a, T>>fn scan<St, B>(self, St, |&mut St, &'a T| -> Option<B>) -> Scan<'r, &'a T, B, Items<'a, T>, St>fn flat_map<B, U: Iterator<B>>(self, |&'a T| -> U) -> FlatMap<'r, &'a T, Items<'a, T>, U>fn fuse(self) -> Fuse<Items<'a, T>>fn inspect(self, |&&'a T|) -> Inspect<'r, &'a T, Items<'a, T>>fn by_ref(&'r mut self) -> ByRef<'r, Items<'a, T>>fn collect<B: FromIterator<&'a T>>(&mut self) -> Bfn nth(&mut self, uint) -> Option<&'a T>fn last(&mut self) -> Option<&'a T>fn fold<B>(&mut self, B, |B, &'a T| -> B) -> Bfn count(&mut self) -> uintfn all(&mut self, |&'a T| -> bool) -> boolfn any(&mut self, |&'a T| -> bool) -> boolfn find(&mut self, |&&'a T| -> bool) -> Option<&'a T>fn position(&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>impl<'a, T> ExactSize<&'a T> for Items<'a, T>impl<'a, T> Clone for Items<'a, T>fn clone(&self) -> Items<'a, T>fn clone_from(&mut self, &Items<'a, T>)impl<'a, T> RandomAccessIterator<&'a T> for Items<'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).