Trait rust_3d::traits::IsRandomInsertible [] [src]

pub trait IsRandomInsertible<T>: IsRandomAccessible<T> {
    fn push(&mut self, x: T);
fn insert(&mut self, index: usize, x: T) -> Result<()>; }

IsRandomInsertible is a trait used for collections of elements which are random insertible

Required Methods

Should push an element to the end of collection

Should insert an element at the given index

Implementors