Module range Copy item path Source Range A (half-open) range bounded inclusively below and exclusively above
(start..end
). RangeFrom A range only bounded inclusively below (start..
). RangeFull An unbounded range (..
). RangeInclusive A range bounded inclusively below and above (start..=end
). RangeTo A range only bounded exclusively above (..end
). RangeToInclusive A range only bounded inclusively above (..=end
). Bound An endpoint of a range of keys. OneSidedRangeBound Experimental An internal helper for split_off
functions indicating
which end a OneSidedRange
is bounded on. RangeBounds RangeBounds
is implemented by Rust’s built-in range types, produced
by range syntax like ..
, a..
, ..b
, ..=c
, d..e
, or f..=g
.IntoBounds Experimental Used to convert a range into start and end bounds, consuming the
range by value. OneSidedRange Experimental OneSidedRange
is implemented for built-in range types that are unbounded
on one side. For example, a..
, ..b
and ..=c
implement OneSidedRange
,
but ..
, d..e
, and f..=g
do not.