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.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".