pub trait RefKv<K, V> {
// Required method
fn ref_kv(&self) -> (&K, &V);
}
Expand description
Yields a pair of a references, each of which points to a key and a value.
This trait is used to convert a reference to a pair &(K, V)
into a pair of references
(&K, &V)
.