Struct num::iter::RangeInclusive []

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

An iterator over the range [start, stop]

Trait Implementations

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

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<A> Iterator for RangeInclusive<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>)

impl<A> DoubleEndedIterator for RangeInclusive<A> where A: Sub<A, Output=A> + Integer + Clone + ToPrimitive

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