Function num::iter::range_from

source ·
pub fn range_from<A>(start: A) -> RangeFrom<A> 
where A: Add<Output = A> + Clone + One,
Expand description

Return an iterator over the infinite range starting at start and continuing forever.

Note: Currently, the Iterator implementation is not checked for overflow. If you use a finite-sized integer type and the integer overflows, it might panic in debug mode or wrap around in release mode. This behavior is not guaranteed and may change at any time.