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

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

An iterator over the range [start, stop)

Trait Implementations

impl<A: Int + ToPrimitive> Iterator<A> for Range<A>

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

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

impl<A: Int + ToPrimitive> DoubleEndedIterator<A> for Range<A>

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: Copy> Copy for Range<A>

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

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

fn clone_from(&mut self, source: &Self)