pub trait KeyMethod<K, V> {
type Container: KeyXorValue<K, V>;
// Required method
fn make(&mut self, value: V) -> Self::Container;
}Expand description
A keying method for use with DuplicatesBy
Required Associated Types§
type Container: KeyXorValue<K, V>
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".