1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
pub trait Key where Self: ::core::fmt::Debug, Self: Default, Self: Clone, Self: Copy, Self: Eq, Self: ::core::hash::Hash {} impl<T> Key for T where T: ::core::fmt::Debug, T: Default, T: Clone, T: Copy, T: Eq, T: ::core::hash::Hash {}