pub trait Key<T> {
type Key;
fn key(_: &T) -> Self::Key;
}
Associated Types
Required Methods
Implementors
impl<K> Key<(K,)> for Key0 where
K: Copy,
impl<K, T0> Key<(K, T0)> for Key0 where
K: Copy,
impl<K, T0, T1> Key<(K, T0, T1)> for Key0 where
K: Copy,
impl<K, T0, T1, T2> Key<(K, T0, T1, T2)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3> Key<(K, T0, T1, T2, T3)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4> Key<(K, T0, T1, T2, T3, T4)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5> Key<(K, T0, T1, T2, T3, T4, T5)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6> Key<(K, T0, T1, T2, T3, T4, T5, T6)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6, T7> Key<(K, T0, T1, T2, T3, T4, T5, T6, T7)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6, T7, T8> Key<(K, T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Key<(K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Key<(K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Key0 where
K: Copy,
impl<K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Key<(K, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Key0 where
K: Copy,
impl<T0, K> Key<(T0, K)> for Key1 where
K: Copy,
impl<T0, K, T1> Key<(T0, K, T1)> for Key1 where
K: Copy,
impl<T0, K, T1, T2> Key<(T0, K, T1, T2)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3> Key<(T0, K, T1, T2, T3)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4> Key<(T0, K, T1, T2, T3, T4)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5> Key<(T0, K, T1, T2, T3, T4, T5)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6> Key<(T0, K, T1, T2, T3, T4, T5, T6)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6, T7> Key<(T0, K, T1, T2, T3, T4, T5, T6, T7)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6, T7, T8> Key<(T0, K, T1, T2, T3, T4, T5, T6, T7, T8)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9> Key<(T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Key<(T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Key1 where
K: Copy,
impl<T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Key<(T0, K, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Key1 where
K: Copy,
impl<T0, T1, K> Key<(T0, T1, K)> for Key2 where
K: Copy,
impl<T0, T1, K, T2> Key<(T0, T1, K, T2)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3> Key<(T0, T1, K, T2, T3)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4> Key<(T0, T1, K, T2, T3, T4)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5> Key<(T0, T1, K, T2, T3, T4, T5)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6> Key<(T0, T1, K, T2, T3, T4, T5, T6)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6, T7> Key<(T0, T1, K, T2, T3, T4, T5, T6, T7)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6, T7, T8> Key<(T0, T1, K, T2, T3, T4, T5, T6, T7, T8)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9> Key<(T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9, T10> Key<(T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Key2 where
K: Copy,
impl<T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Key<(T0, T1, K, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Key2 where
K: Copy,
impl<T0, T1, T2, K> Key<(T0, T1, T2, K)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3> Key<(T0, T1, T2, K, T3)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4> Key<(T0, T1, T2, K, T3, T4)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5> Key<(T0, T1, T2, K, T3, T4, T5)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6> Key<(T0, T1, T2, K, T3, T4, T5, T6)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6, T7> Key<(T0, T1, T2, K, T3, T4, T5, T6, T7)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6, T7, T8> Key<(T0, T1, T2, K, T3, T4, T5, T6, T7, T8)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9> Key<(T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9, T10> Key<(T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9, T10)> for Key3 where
K: Copy,
impl<T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9, T10, T11> Key<(T0, T1, T2, K, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Key3 where
K: Copy,
impl<T0, T1, T2, T3, K> Key<(T0, T1, T2, T3, K)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4> Key<(T0, T1, T2, T3, K, T4)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5> Key<(T0, T1, T2, T3, K, T4, T5)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6> Key<(T0, T1, T2, T3, K, T4, T5, T6)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6, T7> Key<(T0, T1, T2, T3, K, T4, T5, T6, T7)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6, T7, T8> Key<(T0, T1, T2, T3, K, T4, T5, T6, T7, T8)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9> Key<(T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9, T10> Key<(T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9, T10)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9, T10, T11> Key<(T0, T1, T2, T3, K, T4, T5, T6, T7, T8, T9, T10, T11)> for Key4 where
K: Copy,
impl<T0, T1, T2, T3, T4, K> Key<(T0, T1, T2, T3, T4, K)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5> Key<(T0, T1, T2, T3, T4, K, T5)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6> Key<(T0, T1, T2, T3, T4, K, T5, T6)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6, T7> Key<(T0, T1, T2, T3, T4, K, T5, T6, T7)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6, T7, T8> Key<(T0, T1, T2, T3, T4, K, T5, T6, T7, T8)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9> Key<(T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9, T10> Key<(T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9, T10)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9, T10, T11> Key<(T0, T1, T2, T3, T4, K, T5, T6, T7, T8, T9, T10, T11)> for Key5 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K> Key<(T0, T1, T2, T3, T4, T5, K)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6> Key<(T0, T1, T2, T3, T4, T5, K, T6)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6, T7> Key<(T0, T1, T2, T3, T4, T5, K, T6, T7)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6, T7, T8> Key<(T0, T1, T2, T3, T4, T5, K, T6, T7, T8)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9> Key<(T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9, T10> Key<(T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9, T10)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9, T10, T11> Key<(T0, T1, T2, T3, T4, T5, K, T6, T7, T8, T9, T10, T11)> for Key6 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K> Key<(T0, T1, T2, T3, T4, T5, T6, K)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K, T7> Key<(T0, T1, T2, T3, T4, T5, T6, K, T7)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K, T7, T8> Key<(T0, T1, T2, T3, T4, T5, T6, K, T7, T8)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9> Key<(T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9, T10> Key<(T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9, T10)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9, T10, T11> Key<(T0, T1, T2, T3, T4, T5, T6, K, T7, T8, T9, T10, T11)> for Key7 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, K> Key<(T0, T1, T2, T3, T4, T5, T6, T7, K)> for Key8 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, K, T8> Key<(T0, T1, T2, T3, T4, T5, T6, T7, K, T8)> for Key8 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9> Key<(T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9)> for Key8 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9, T10> Key<(T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9, T10)> for Key8 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9, T10, T11> Key<(T0, T1, T2, T3, T4, T5, T6, T7, K, T8, T9, T10, T11)> for Key8 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, K> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, K)> for Key9 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9)> for Key9 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9, T10> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9, T10)> for Key9 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9, T10, T11> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, K, T9, T10, T11)> for Key9 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K)> for Key10 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K, T10> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K, T10)> for Key10 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K, T10, T11> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, K, T10, T11)> for Key10 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, K> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, K)> for Key11 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, K, T11> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, K, T11)> for Key11 where
K: Copy,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, K> Key<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, K)> for Key12 where
K: Copy,