HasMapData

Trait HasMapData 

Source
pub trait HasMapData: HasData {
    type Key;
    type Value;
}
Expand description

A trait for iterable collections which are a mapping of one type to another.

Required Associated Types§

Source

type Key

The type of the keys.

Source

type Value

The type of the values.

Implementations on Foreign Types§

Source§

impl<'a, K: 'a + Ord, V: 'a> HasMapData for BTreeMap<K, V>

Source§

type Key = K

Source§

type Value = V

Source§

impl<'a, K: 'a + Hash + Eq, V: 'a> HasMapData for HashMap<K, V>

Source§

type Key = K

Source§

type Value = V

Source§

impl<T> HasMapData for [T]

Source§

impl<T> HasMapData for VecDeque<T>

Source§

impl<T> HasMapData for Vec<T>

Source§

impl<T: Ord> HasMapData for BTreeSet<T>

Source§

type Key = T

Source§

type Value = T

Source§

impl<T: Hash + Eq> HasMapData for HashSet<T>

Source§

type Key = T

Source§

type Value = T

Implementors§