Gets mutable access to the value and identifier for a `key`. Returns `None` if the key is not present.
(&mut self, key: &K)
| 52 | /// |
| 53 | /// Returns `None` if the key is not present. |
| 54 | pub(super) fn get_mut(&mut self, key: &K) -> Option<(&mut V, I)> { |
| 55 | self.map.get_mut(key).map(|(v, i)| (v, *i)) |
| 56 | } |
| 57 | |
| 58 | /// Inserts the `key`/`value` pair into the hash map, assigning a new identifier |
| 59 | /// to the `key` if it does not yet have one. |
no outgoing calls