Struct std::iter::RangeInclusiveExperimental
[-]
[+]
[src]
pub struct RangeInclusive<A> {
// some fields omitted
}An iterator over the range [start, stop]
pub struct RangeInclusive<A> {
// some fields omitted
}An iterator over the range [start, stop]
impl<A: Int + ToPrimitive> Iterator<A> for RangeInclusive<A>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<RangeInclusive<A>, U>fn zip<B, U: Iterator<B>>(self, U) -> Zip<RangeInclusive<A>, U>fn map<B>(self, |A| -> B) -> Map<'r, A, B, RangeInclusive<A>>fn filter(self, |&A| -> bool) -> Filter<'r, A, RangeInclusive<A>>fn filter_map<B>(self, |A| -> Option<B>) -> FilterMap<'r, A, B, RangeInclusive<A>>fn enumerate(self) -> Enumerate<RangeInclusive<A>>fn peekable(self) -> Peekable<A, RangeInclusive<A>>fn skip_while(self, |&A| -> bool) -> SkipWhile<'r, A, RangeInclusive<A>>fn take_while(self, |&A| -> bool) -> TakeWhile<'r, A, RangeInclusive<A>>fn skip(self, uint) -> Skip<RangeInclusive<A>>fn take(self, uint) -> Take<RangeInclusive<A>>fn scan<St, B>(self, St, |&mut St, A| -> Option<B>) -> Scan<'r, A, B, RangeInclusive<A>, St>fn flat_map<B, U: Iterator<B>>(self, |A| -> U) -> FlatMap<'r, A, RangeInclusive<A>, U>fn fuse(self) -> Fuse<RangeInclusive<A>>fn inspect(self, |&A|) -> Inspect<'r, A, RangeInclusive<A>>fn by_ref(&'r mut self) -> ByRef<'r, RangeInclusive<A>>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: Int + ToPrimitive> DoubleEndedIterator<A> for RangeInclusive<A>fn next_back(&mut self) -> Option<A>fn rev(self) -> Rev<RangeInclusive<A>>impl<A: Clone> Clone for RangeInclusive<A>fn clone(&self) -> RangeInclusive<A>fn clone_from(&mut self, &RangeInclusive<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, enum,
trait, typedef (or
tdef).