Lines Matching defs:K
216 pub fn iter(&self) -> Iter<'_, K, V> { in iter() argument
223 pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { in iter_mut() argument
230 pub fn keys(&self) -> Keys<'_, K, V> { in keys() argument
237 pub fn into_keys(self) -> IntoKeys<K, V> { in into_keys()
244 pub fn values(&self) -> Values<'_, K, V> { in values() argument
252 pub fn values_mut(&mut self) -> ValuesMut<'_, K, V> { in values_mut() argument
259 pub fn into_values(self) -> IntoValues<K, V> { in into_values()
292 pub fn drain<R>(&mut self, range: R) -> Drain<'_, K, V> in drain() argument
364 pub fn insert(&mut self, key: K, value: V) -> Option<V> { in insert()
381 pub fn insert_full(&mut self, key: K, value: V) -> (usize, Option<V>) { in insert_full()
390 pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { in entry() argument
400 Q: Hash + Equivalent<K>, in contains_key()
411 Q: Hash + Equivalent<K>, in get()
425 pub fn get_key_value<Q: ?Sized>(&self, key: &Q) -> Option<(&K, &V)> in get_key_value()
427 Q: Hash + Equivalent<K>, in get_key_value()
438 pub fn get_full<Q: ?Sized>(&self, key: &Q) -> Option<(usize, &K, &V)> in get_full()
440 Q: Hash + Equivalent<K>, in get_full()
455 Q: Hash + Equivalent<K>, in get_index_of()
467 Q: Hash + Equivalent<K>, in get_mut()
477 pub fn get_full_mut<Q: ?Sized>(&mut self, key: &Q) -> Option<(usize, &K, &mut V)> in get_full_mut()
479 Q: Hash + Equivalent<K>, in get_full_mut()
492 ) -> Option<(usize, &mut K, &mut V)> in get_full_mut2_impl()
494 Q: Hash + Equivalent<K>, in get_full_mut2_impl()
514 Q: Hash + Equivalent<K>, in remove()
526 pub fn remove_entry<Q: ?Sized>(&mut self, key: &Q) -> Option<(K, V)> in remove_entry()
528 Q: Hash + Equivalent<K>, in remove_entry()
545 Q: Hash + Equivalent<K>, in swap_remove()
559 pub fn swap_remove_entry<Q: ?Sized>(&mut self, key: &Q) -> Option<(K, V)> in swap_remove_entry()
561 Q: Hash + Equivalent<K>, in swap_remove_entry()
579 pub fn swap_remove_full<Q: ?Sized>(&mut self, key: &Q) -> Option<(usize, K, V)> in swap_remove_full() argument
581 Q: Hash + Equivalent<K>, in swap_remove_full()
602 Q: Hash + Equivalent<K>, in shift_remove()
616 pub fn shift_remove_entry<Q: ?Sized>(&mut self, key: &Q) -> Option<(K, V)> in shift_remove_entry()
618 Q: Hash + Equivalent<K>, in shift_remove_entry()
636 pub fn shift_remove_full<Q: ?Sized>(&mut self, key: &Q) -> Option<(usize, K, V)> in shift_remove_full() argument
638 Q: Hash + Equivalent<K>, in shift_remove_full()
652 pub fn pop(&mut self) -> Option<(K, V)> { in pop()
665 F: FnMut(&K, &mut V) -> bool, in retain()
672 F: FnMut(&mut K, &mut V) -> bool, in retain_mut()
699 F: FnMut(&K, &V, &K, &V) -> Ordering, in sort_by()
710 pub fn sorted_by<F>(self, mut cmp: F) -> IntoIter<K, V> in sorted_by()
712 F: FnMut(&K, &V, &K, &V) -> Ordering, in sorted_by()
744 F: FnMut(&K, &V, &K, &V) -> Ordering, in sort_unstable_by()
756 pub fn sorted_unstable_by<F>(self, mut cmp: F) -> IntoIter<K, V> in sorted_unstable_by()
758 F: FnMut(&K, &V, &K, &V) -> Ordering, in sorted_unstable_by()
781 pub fn get_index(&self, index: usize) -> Option<(&K, &V)> { in get_index()
790 pub fn get_index_mut(&mut self, index: usize) -> Option<(&mut K, &mut V)> { in get_index_mut()
797 pub fn first(&self) -> Option<(&K, &V)> { in first()
804 pub fn first_mut(&mut self) -> Option<(&K, &mut V)> { in first_mut()
811 pub fn last(&self) -> Option<(&K, &V)> { in last()
818 pub fn last_mut(&mut self) -> Option<(&K, &mut V)> { in last_mut()
831 pub fn swap_remove_index(&mut self, index: usize) -> Option<(K, V)> { in swap_remove_index()
844 pub fn shift_remove_index(&mut self, index: usize) -> Option<(K, V)> { in shift_remove_index()
1438 fn from(arr: [(K, V); N]) -> Self { in from()
1507 fn eq(&self, other: &IndexMap<K, V2, S2>) -> bool { in eq()