[][src]Function num_iter::range_from

pub fn range_from<A>(start: A) -> RangeFrom<A>

Notable traits for RangeFrom<A>

impl<A> Iterator for RangeFrom<A> where
    A: Add<A, Output = A> + Clone
type Item = A;
where
    A: Add<A, Output = A> + Clone + One

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.