Struct num::iter::RangeStepInclusive [-] [+] [src]

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

An iterator over the range [start, stop] by step. It handles overflow by stopping.

Trait Implementations

impl<A> Iterator for RangeStepInclusive<A> where A: CheckedAdd + PartialOrd + Clone + PartialEq

type Item = A

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

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

Derived Implementations

impl<A: Clone> Clone for RangeStepInclusive<A>

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

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