pub trait Range<R>where
R: Read,{ }Expand description
Native range types (.., lower.., ..=upper, lower..=upper) that can be passed as bounds to
SequentialMap::range and ConcurrentMap::range.
Currently, only RangeFull, RangeFrom, RangeToInclusive, and RangeInclusive are supported.
Range (with an exclusive upper bound) is not supported.
The following types can be used as range bounds:
- Borrowed keys (
&'_ Key::Borrowed), - Slices (
&'_ [u8]) - Array references (
&'_ [u8; 5]) - For integer keys, owned integers (
u64)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".