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
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".