pub trait TiRangeBounds<K> {
    type Range: RangeBounds<usize>;

    fn into_range(self) -> Self::Range;
}
Expand description

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.

Required Associated Types

Appropriate usize range

Required Methods

Converts the TiRangeBounds into an appropriate usize range.

Implementations on Foreign Types

Implementors