Struct std::option::Item[src]
pub struct Item<A> {
// some fields omitted
}An Option iterator that yields either one or zero elements
The Item iterator is returned by the iter, mut_iter and move_iter
methods on Option.
pub struct Item<A> {
// some fields omitted
}An Option iterator that yields either one or zero elements
The Item iterator is returned by the iter, mut_iter and move_iter
methods on Option.
impl<A> Iterator<A> for Item<A>fn next<A>(&mut self) -> Option<A>fn size_hint<A>(&self) -> (uint, Option<uint>)fn size_hint<A>(&self) -> (uint, Option<uint>)fn chain<U: Iterator<A>>(self, U) -> Chain<Item<A>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<Item<A>, U>fn map<B>(self, |A|: 'r -> B) -> Map<'r, A, B, Item<A>>fn filter<A>(self, |&A|: 'r -> bool) -> Filter<'r, A, Item<A>>fn filter_map<B>(self, |A|: 'r -> Option<B>) -> FilterMap<'r, A, B, Item<A>>fn enumerate<A>(self) -> Enumerate<Item<A>>fn peekable<A>(self) -> Peekable<A, Item<A>>fn skip_while<A>(self, |&A|: 'r -> bool) -> SkipWhile<'r, A, Item<A>>fn take_while<A>(self, |&A|: 'r -> bool) -> TakeWhile<'r, A, Item<A>>fn skip<A>(self, uint) -> Skip<Item<A>>fn take<A>(self, uint) -> Take<Item<A>>fn scan<St, B>(self, St, |&mut St, A|: 'r -> Option<B>) -> Scan<'r, A, B, Item<A>, St>fn flat_map<B, U: Iterator<B>>(self, |A|: 'r -> U) -> FlatMap<'r, A, Item<A>, U>fn fuse<A>(self) -> Fuse<Item<A>>fn inspect<A>(self, |&A|: 'r) -> Inspect<'r, A, Item<A>>fn by_ref<A>(&'r mut self) -> ByRef<'r, Item<A>>fn advance<A>(&mut self, |A| -> bool) -> boolfn collect<B: FromIterator<A>>(&mut self) -> Bfn nth<A>(&mut self, uint) -> Option<A>fn last<A>(&mut self) -> Option<A>fn fold<B>(&mut self, B, |B, A| -> B) -> Bfn count<A>(&mut self) -> uintfn all<A>(&mut self, |A| -> bool) -> boolfn any<A>(&mut self, |A| -> bool) -> boolfn find<A>(&mut self, |&A| -> bool) -> Option<A>fn position<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> DoubleEndedIterator<A> for Item<A>impl<A> ExactSize<A> for Item<A>impl<A: Clone> Clone for Item<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).