Gets a reference to the value in the entry.
(&self)
| 26 | impl<'a, K, V> OccupiedEntry<'a, K, V> { |
| 27 | /// Gets a reference to the value in the entry. |
| 28 | pub fn get(&self) -> &V { |
| 29 | &self.entry.get().value |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /// A view into a vacant entry in a `ScopedHashMap`. It is part of the `Entry` enum. |