Trait AsSlice
Other items ineytzinger_map
pub trait AsSlice { type Key: Ord; type Value; fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)]; }
type Key: Ord
type Value
fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)]
impl<K: Ord, V, const LEN: usize> AsSlice for [(K, V); LEN]
type Key = K
type Value = V
fn as_slice(&self) -> &[(Self::Key, Self::Value)]
impl<K: Ord, V> AsSlice for &[(K, V)]
impl<K: Ord, V> AsSlice for &mut [(K, V)]
impl<K: Ord, V> AsSlice for Vec<(K, V)>