pub trait CopyDictionary<K, V>: CopyMap<K, V> + DynamicContainer{
// Required method
fn remove(&mut self, k: K) -> Option<V>;
// Provided method
fn contains(&self, key: K) -> bool { ... }
}Expand description
Key-value map that can dynamically change size, indexed by a key that implements
Copy.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".