pub trait OpsIndex<Idx: ?Sized> { type Output: ?Sized; fn index(&self, index: Idx) -> &Self::Output; }
The returned type after indexing.
Performs the indexing (container[index]) operation.
container[index]
May panic if the index is out of bounds.