Trait eytzinger_map::AsSlice[][src]

pub trait AsSlice {
    type Key: Ord;
    type Value;
    fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)];
}

Associated Types

Loading content...

Required methods

fn as_slice<'a>(&'a self) -> &'a [(Self::Key, Self::Value)][src]

Loading content...

Implementations on Foreign Types

impl<K: Ord, V, const LEN: usize> AsSlice for [(K, V); LEN][src]

type Key = K

type Value = V

fn as_slice(&self) -> &[(Self::Key, Self::Value)][src]

impl<K: Ord, V> AsSlice for &[(K, V)][src]

type Key = K

type Value = V

fn as_slice(&self) -> &[(Self::Key, Self::Value)][src]

impl<K: Ord, V> AsSlice for &mut [(K, V)][src]

type Key = K

type Value = V

fn as_slice(&self) -> &[(Self::Key, Self::Value)][src]

impl<K: Ord, V> AsSlice for Vec<(K, V)>[src]

type Key = K

type Value = V

fn as_slice(&self) -> &[(Self::Key, Self::Value)][src]

Loading content...

Implementors

Loading content...