[][src]Trait controlgroup::RefKv

pub trait RefKv<K, V> {
    fn ref_kv(&self) -> (&K, &V);
}

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).

Required methods

fn ref_kv(&self) -> (&K, &V)

Yields a pair of a references, each of which points to a key and a value.

Loading content...

Implementations on Foreign Types

impl<'_, '_, K, V> RefKv<K, V> for (&'_ K, &'_ V)[src]

impl<'_, K, V> RefKv<K, V> for &'_ (K, V)[src]

Loading content...

Implementors

Loading content...