Skip to main content

Module legacy

Module legacy 

Source
🔬This is a nightly-only experimental API. (new_range_api_legacy #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§

RangeExperimentalvalidated
A (half-open) range bounded inclusively below and exclusively above (start..end).
RangeFromExperimentalvalidated
A range only bounded inclusively below (start..).
RangeInclusiveExperimentalvalidated
A range bounded inclusively below and above (start..=end).
RangeToInclusiveExperimentalvalidated
A range only bounded inclusively above (..=end).