pub trait Remove<T>: Collection {
// Required method
fn remove(&mut self, key: T) -> Option<Self::Item>;
}Expand description
Mutable collection where elements can be removed from.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".