Struct std::iter::CounterUnstable [-]  [+] [src]

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

An infinite iterator starting at start and advancing by step with each iteration

Trait Implementations

impl<A: Add<A, A> + Clone> Iterator<A> for Counter<A>

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

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

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

Derived Implementations

impl<A> Copy for Counter<A>

impl<A: Clone> Clone for Counter<A>

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

fn clone_from(&mut self, &Counter<A>)