pub trait OpsIndex<Idx>where Idx: ?Sized,{ type Output: ?Sized; // Required method 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.