pub trait VecTrait {
type T;
// Required methods
fn borrow_mut(&mut self) -> &mut Vec<Self::T>;
fn borrow(&self) -> &Vec<Self::T>;
}Expand description
Abstract over a Vec
pub trait VecTrait {
type T;
// Required methods
fn borrow_mut(&mut self) -> &mut Vec<Self::T>;
fn borrow(&self) -> &Vec<Self::T>;
}Abstract over a Vec