Struct std::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>)
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.