pub trait Insert: Collection {
type Output;
// Required method
fn insert(&mut self, element: Self::Item) -> Self::Output;
}
Expand description
Mutable collection where new elements can be inserted.
pub trait Insert: Collection {
type Output;
// Required method
fn insert(&mut self, element: Self::Item) -> Self::Output;
}
Mutable collection where new elements can be inserted.