Struct std::iter::CycleStable
[-]
[+]
[src]
pub struct Cycle<T> { // some fields omitted }
An iterator that repeats endlessly
pub struct Cycle<T> { // some fields omitted }
An iterator that repeats endlessly
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>
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>)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).