Trait kvarn::prelude::networking::prelude::utils::prelude::compact_str::core::ops::OneSidedRange
source · pub trait OneSidedRange<T>: RangeBounds<T>where
T: ?Sized,{ }
🔬This is a nightly-only experimental API. (
one_sided_range
)Available on non-crate feature
miri-test-libstd
only.Expand description
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.
Types that implement OneSidedRange<T>
must return Bound::Unbounded
from one of RangeBounds::start_bound
or RangeBounds::end_bound
.