Trait rust_3d::traits::IsRandomAccessible [] [src]

pub trait IsRandomAccessible<T>: Index<usize, Output = T> + IndexMut<usize> {
    fn len(&self) -> usize;
}

IsRandomAccessible is a trait used for collections of elements which are random accessible

Required Methods

Should return the number of elements within the collection

Implementors