[−][src]Trait typed_index_collections::TiRangeBounds
A helper trait used to convert typed index ranges to usize ranges.
The trait is implemented for Rust's built-in range types with K where usize: From<K> used as bound endpoints.
See core::ops::RangeBounds for more details.
Associated Types
type Range: RangeBounds<usize>
Appropriate usize range
Required methods
fn into_range(self) -> Self::Range
Converts the TiRangeBounds into an appropriate usize range.
Implementations on Foreign Types
impl<K> TiRangeBounds<K> for Range<K> where
usize: From<K>, [src]
usize: From<K>,
impl<K> TiRangeBounds<K> for RangeFrom<K> where
usize: From<K>, [src]
usize: From<K>,
impl<K> TiRangeBounds<K> for RangeFull where
usize: From<K>, [src]
usize: From<K>,
type Range = RangeFull
fn into_range(self) -> Self::Range[src]
impl<K> TiRangeBounds<K> for RangeInclusive<K> where
usize: From<K>, [src]
usize: From<K>,
type Range = RangeInclusive<usize>
fn into_range(self) -> Self::Range[src]
impl<K> TiRangeBounds<K> for RangeTo<K> where
usize: From<K>, [src]
usize: From<K>,
impl<K> TiRangeBounds<K> for RangeToInclusive<K> where
usize: From<K>, [src]
usize: From<K>,