core::range

Module legacy

Source
🔬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, and RangeFrom in the parent module, core::range.

The types here are equivalent to those in core::ops.

Structs§

  • RangeExperimental
    A (half-open) range bounded inclusively below and exclusively above (start..end).
  • RangeFromExperimental
    A range only bounded inclusively below (start..).
  • RangeInclusiveExperimental
    A range bounded inclusively below and above (start..=end).