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: Clonetype Item = Afn 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: Cloneimpl<A> RandomAccessIterator for Repeat<A> where A: Cloneimpl<A> Clone for Repeat<A> where A: Clonefn 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).