Gets the value and identifier for a `key`. Returns `None` if the key is not present.
(&self, key: &K)
| 45 | /// |
| 46 | /// Returns `None` if the key is not present. |
| 47 | pub(super) fn get(&self, key: &K) -> Option<(&V, I)> { |
| 48 | self.map.get(key).map(|(v, i)| (v, *i)) |
| 49 | } |
| 50 | |
| 51 | /// Gets mutable access to the value and identifier for a `key`. |
| 52 | /// |
no outgoing calls
no test coverage detected