Trait avalanche::tracked::TrackedVecIndex [−][src]
pub trait TrackedVecIndex<T>: Sealed + Copy {
type Output: ?Sized;
fn get(self, vec: &Vec<T>) -> &Self::Output;
fn get_mut(self, vec: &mut Vec<T>) -> &mut Self::Output;
fn span(self) -> (Bound<usize>, Bound<usize>);
}
Expand description
Emulates the role of std::slice::SliceIndex.