Struct num::iter::Range [] [src]

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

An iterator over the range [start, stop)

Trait Implementations

impl<A> DoubleEndedIterator for Range<A> where A: Integer + Clone + ToPrimitive

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

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

impl<A> Iterator for Range<A> where A: Add<A, Output=A> + PartialOrd<A> + Clone + ToPrimitive

type Item = A

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

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

Derived Implementations

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

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

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