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

pub struct Cycle<T> {
    // some fields omitted
}

An iterator that repeats endlessly

Trait Implementations

impl<A, T: Clone + Iterator<A>> Iterator<A> for Cycle<T>

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

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

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

impl<A, T: Clone + RandomAccessIterator<A>> RandomAccessIterator<A> for Cycle<T>

fn indexable(&self) -> uint

fn idx(&mut self, index: uint) -> Option<A>

Derived Implementations

impl<T> Copy for Cycle<T>

impl<T: Clone> Clone for Cycle<T>

fn clone(&self) -> Cycle<T>

fn clone_from(&mut self, &Cycle<T>)