Struct std::iter::RepeatStable
[-]
[+]
[src]
pub struct Repeat<A> { // some fields omitted }
An iterator that repeats an element endlessly
pub struct Repeat<A> { // some fields omitted }
An iterator that repeats an element endlessly
impl<A: Clone> Repeat<A>
impl<A: Clone> Iterator<A> for Repeat<A>
fn next(&mut self) -> Option<A>
fn size_hint(&self) -> (uint, Option<uint>)
fn size_hint(&self) -> (uint, Option<uint>)
impl<A: Clone> DoubleEndedIterator<A> for Repeat<A>
impl<A: Clone> RandomAccessIterator<A> for Repeat<A>
impl<A: Clone> Clone for Repeat<A>
fn clone(&self) -> Repeat<A>
fn clone_from(&mut self, &Repeat<A>)
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
).