Module range
Experimental replacement range types
The types within this module are meant to replace the existing
Range, RangeInclusive, and RangeFrom types in a future edition.
use ;
let arr = ;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Modules
-
legacy
Legacy range types
Structs
-
Range
A (half-open) range bounded inclusively below and exclusively above
(
start..endin a future edition). -
RangeFrom
A range only bounded inclusively below (
start..). -
RangeInclusive
A range bounded inclusively below and above (
start..=last). -
RangeToInclusive
A range only bounded inclusively above (
..=last).