pub enum OneSidedRangeBound { StartInclusive, End, EndInclusive, }
one_sided_range
An internal helper for split_off functions indicating which end a OneSidedRange is bounded on.
split_off
OneSidedRange
The range is bounded inclusively from below and is unbounded above.
The range is bounded exclusively from above and is unbounded below.
The range is bounded inclusively from above and is unbounded below.
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U