Skip to main content

Module legacy

Module legacy 

1.98.0 · Source
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
A (half-open) range bounded inclusively below and exclusively above (start..end).
RangeFrom
A range only bounded inclusively below (start..).
RangeInclusive
A range bounded inclusively below and above (start..=end).
RangeToInclusive
A range only bounded inclusively above (..=end).