Struct std::iter::RangeUnstable [-] [+] [src]

pub struct Range<A> {
    // some fields omitted
}

An iterator over the range [start, stop)

Trait Implementations

impl<A> Iterator for Range<A> where A: Int, A: ToPrimitive

type Item = A

fn next(&mut self) -> Option<A>

fn size_hint(&self) -> (usize, Option<usize>)

fn size_hint(&self) -> (usize, Option<usize>)

impl<A> DoubleEndedIterator for Range<A> where A: Int, A: ToPrimitive

Int is required to ensure the range will be the same regardless of the direction it is consumed.

fn next_back(&mut self) -> Option<A>

Derived Implementations

impl<A> Clone for Range<A> where A: Clone

fn clone(&self) -> Range<A>

fn clone_from(&mut self, &Range<A>)