Expand description
External iterators for generic mathematics
§Compatibility
The num-iter
crate is tested for rustc 1.31 and greater.
Structs§
- Range
- An iterator over the range [start, stop)
- Range
From - An iterator over the infinite range starting at
start
- Range
Inclusive - An iterator over the range [start, stop]
- Range
Step - An iterator over the range [start, stop) by
step
. It handles overflow by stopping. - Range
Step From - An iterator over the infinite range starting at
start
bystep
- Range
Step Inclusive - An iterator over the range [start, stop] by
step
. It handles overflow by stopping.
Functions§
- range
- Returns an iterator over the given range [start, stop) (that is, starting at start (inclusive), and ending at stop (exclusive)).
- range_
from - Return an iterator over the infinite range starting at
start
and continuing forever. - range_
inclusive - Return an iterator over the range [start, stop]
- range_
step - Return an iterator over the range [start, stop) by
step
. It handles overflow by stopping. - range_
step_ from - Return an iterator over the infinite range starting at
start
and continuing forever bystep
. - range_
step_ inclusive - Return an iterator over the range [start, stop] by
step
. It handles overflow by stopping.