kvarn_async::prelude::compact_str::core::range

Struct RangeFrom

source
pub struct RangeFrom<Idx> {
    pub start: Idx,
}
🔬This is a nightly-only experimental API. (new_range_api)
Expand description

A range only bounded inclusively below (start..).

The RangeFrom start.. contains all values with x >= start.

Note: Overflow in the Iterator implementation (when the contained data type reaches its numerical limit) is allowed to panic, wrap, or saturate. This behavior is defined by the implementation of the Step trait. For primitive integers, this follows the normal rules, and respects the overflow checks profile (panic in debug, wrap in release). Note also that overflow happens earlier than you might assume: the overflow happens in the call to next that yields the maximum value, as the range must be set to a sta