pub trait IsRandomAccessible<T>: Index<usize, Output = T> + IndexMut<usize> {
// Required method
fn len(&self) -> usize;
}
Expand description
IsRandomAccessible is a trait used for collections of elements which are random accessible
pub trait IsRandomAccessible<T>: Index<usize, Output = T> + IndexMut<usize> {
// Required method
fn len(&self) -> usize;
}
IsRandomAccessible is a trait used for collections of elements which are random accessible