Crate num_iter[][src]

Expand description

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)

RangeFrom

An iterator over the infinite range starting at start

RangeInclusive

An iterator over the range [start, stop]

RangeStep

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

RangeStepFrom

An iterator over the infinite range starting at start by step

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_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 by step.

range_step_inclusive

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