🔬This is a nightly-only experimental API. (
new_range_api #125687)Expand description
§Legacy range types
The types within this module will be replaced by the types
Range, RangeInclusive, RangeToInclusive, and RangeFrom in the parent
module, core::range.
The types here are equivalent to those in core::ops.
Structs§
- Range
Experimental - A (half-open) range bounded inclusively below and exclusively above
(
start..end). - Range
From Experimental - A range only bounded inclusively below (
start..). - Range
Inclusive Experimental - A range bounded inclusively below and above (
start..=end). - Range
ToInclusive Experimental - A range only bounded inclusively above (
..=end).