std::range::legacy - Rust
Description: Legacy range types

## 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`, `RangeToInclusive`, 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`).
RangeToInclusiveExperimental
  A range only bounded inclusively above (`..=end`).