Struct core::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<Output=A> + Clone> Iterator for Counter<A>

type Item = A

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

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

Derived Implementations

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

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

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