Struct std::iter::CounterUnstable
[-] [+]
[src]
pub struct Counter<A> { // some fields omitted }
An infinite iterator starting at start
and advancing by step
with each
iteration
pub struct Counter<A> { // some fields omitted }
An infinite iterator starting at start
and advancing by step
with each
iteration
impl<A> Iterator for Counter<A> where A: Add<A>, A: Clone, <A as Add<A>>::Output == A
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> Clone for Counter<A> where A: Clone
fn clone(&self) -> Counter<A>
fn clone_from(&mut self, &Counter<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
).