pub trait IKeyValue<T, K> {
// Required methods
fn key(&self) -> &K;
fn value(&self) -> &T;
}Expand description
A key and its item (IKeyValue<TObject, TKey>, with IKey<TKey>).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".