pub struct RangeStepInclusive<A> {
// some fields omitted
}
An iterator over the range [start, stop] by step
. It handles overflow by stopping.
Trait Implementations
fn next(&mut self) -> Option<A>
fn chain<U: Iterator<A>>(self, other: U) -> Chain<Self, U>
fn zip<B, U: Iterator<B>>(self, other: U) -> Zip<Self, U>
fn map<B>(self, f: |A| -> B) -> Map<'r, A, B, Self>
fn filter(self, predicate: |&A| -> bool) -> Filter<'r, A, Self>
fn skip_while(self, predicate: |&A| -> bool) -> SkipWhile<'r, A, Self>
fn take_while(self, predicate: |&A| -> bool) -> TakeWhile<'r, A, Self>
fn scan<St, B>(self, initial_state: St, f: |&mut St, A| -> Option<B>) -> Scan<'r, A, B, Self, St>
fn flat_map<B, U: Iterator<B>>(self, f: |A| -> U) -> FlatMap<'r, A, Self, U>
fn fuse(self) -> Fuse<Self>
fn inspect(self, f: |&A|) -> Inspect<'r, A, Self>
fn by_ref(&'r mut self) -> ByRef<'r, Self>
fn last(&mut self) -> Option<A>
fn fold<B>(&mut self, init: B, f: |B, A| -> B) -> B
fn all(&mut self, f: |A| -> bool) -> bool
fn any(&mut self, f: |A| -> bool) -> bool
fn find(&mut self, predicate: |&A| -> bool) -> Option<A>
fn max_by<B: Ord>(&mut self, f: |&A| -> B) -> Option<A>
fn min_by<B: Ord>(&mut self, f: |&A| -> B) -> Option<A>
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
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
).