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> Iterator for Repeat<A> where A: Clone
type Item = A
fn next(&mut self) -> Option<A>
fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
impl<A> DoubleEndedIterator for Repeat<A> where A: Clone
impl<A> RandomAccessIterator for Repeat<A> where A: Clone
impl<A> Clone for Repeat<A> where A: Clone
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
).