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.