Crate num_iter [] [src]

External iterators for generic mathematics

Compatibility

The num-iter crate is tested for rustc 1.8 and greater.

Structs

Range

An iterator over the range [start, stop)

RangeInclusive

An iterator over the range [start, stop]

RangeStep

An iterator over the range [start, stop) by step. It handles overflow by stopping.

RangeStepInclusive

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_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_inclusive

Return an iterator over the range [start, stop] by step. It handles overflow by stopping.