Struct total_order_multi_map::Entry [−][src]
pub struct Entry<'a, K, V> where
K: 'a,
V: StableDeref + DerefMut + 'a, { /* fields omitted */ }Methods
impl<'a, K, V> Entry<'a, K, V> where
K: Hash + Eq + Copy + 'a,
V: StableDeref + DerefMut + 'a, [src]
impl<'a, K, V> Entry<'a, K, V> where
K: Hash + Eq + Copy + 'a,
V: StableDeref + DerefMut + 'a, pub fn key(&self) -> K[src]
pub fn key(&self) -> Kaccess the key used to construct this entry
pub fn value_count(&self) -> usize[src]
pub fn value_count(&self) -> usizereturn how many values are associated with this entries key
ⓘImportant traits for EntryValuesMut<'a, T>pub fn add(self, val: V) -> EntryValuesMut<'a, V::Target>[src]
ⓘImportant traits for EntryValuesMut<'a, T>
pub fn add(self, val: V) -> EntryValuesMut<'a, V::Target>Add a value to the values associated with the given keys.
pub fn set(self, val: V) -> Vec<V>[src]
pub fn set(self, val: V) -> Vec<V>Sets a value for a given key, removing all previous associated values.
Returns the values previous associated with the key.
Trait Implementations
impl<'a, K, V> Debug for Entry<'a, K, V> where
K: Hash + Eq + Copy + Debug + 'a,
V: StableDeref + DerefMut + 'a,
V::Target: Debug, [src]
impl<'a, K, V> Debug for Entry<'a, K, V> where
K: Hash + Eq + Copy + Debug + 'a,
V: StableDeref + DerefMut + 'a,
V::Target: Debug,