Trait generational_cache::vector::Vector
source · pub trait Vector<T>: DerefMut<Target = [T]> {
type Error: Debug;
// Required methods
fn capacity(&self) -> usize;
fn push(&mut self, item: T) -> Result<(), Self::Error>;
fn clear(&mut self);
}Expand description
Represents an abstract vector over a type accessible as mutable slice.