pub struct RangeStep<A> { priv state: A, priv stop: A, priv step: A, priv rev: bool, }
An iterator over the range [start, stop) by step
. It handles overflow by stopping.
impl<A: Clone> Clone for RangeStep<A>
fn clone(&self) -> RangeStep<A>
Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.
impl<A: DeepClone> DeepClone for RangeStep<A>
fn deep_clone(&self) -> RangeStep<A>
Return a deep copy of the value. Unlike Clone
, the contents of shared pointer types
are copied.
impl<A: CheckedAdd + Ord + Clone> Iterator<A> for RangeStep<A>
fn next(&mut self) -> Option<A>
Advance the iterator and return the next value. Return None
when the end is reached.
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
(or str
), enum
,
trait
, typedef
(or
tdef
).