[][src]Trait glsp::DequeRange

pub trait DequeRange<I>: Sealed<I> + RangeBounds<I> where
    I: DequeIndex
{ }

An integer range type which can be used to slice a deque.

The DequeAccessRange trait is generic over this trait. This enables Arrs, Strs and Deques to be indexed using slices of any primitive integer type, including negative indexes.

This trait is sealed. It's not possible to implement this trait for your own types.

Implementors

impl<T, I> DequeRange<I> for T where
    I: DequeIndex,
    T: RangeBounds<I>, 
[src]

Loading content...