Trait nv_card::MutableCollection [] [src]

pub trait MutableCollection: Collection {
    fn push(&mut self, item: Self::Item);
    fn pop(&mut self) -> Option<Self::Item>;
    fn insert_at(&mut self, index: usize, item: Self::Item);
    fn remove_at(&mut self, index: usize) -> Option<Self::Item>;
}

trait for collections that can be mutated. Inherits from Collection trait

Required Methods

adds an item to the end of a collection

removes an item from the end of a collection

inserts at a specific index

removes item at a specific index

Implementors