Entry for an existing key-value pair in an [`SparseMap`] or a vacant location to insert one.
| 365 | where |
| 366 | K: EntityRef, |
| 367 | { |
| 368 | /// Existing slot with equivalent key. |
| 369 | Occupied(OccupiedEntry<'a, K, V>), |
| 370 | /// Vacant slot (no equivalent key in the map). |
| 371 | Vacant(VacantEntry<'a, K, V>), |
| 372 | } |
| 373 | |
| 374 | impl<'a, K, V> Entry<'a, K, V> |
| 375 | where |
| 376 | K: EntityRef, |
| 377 | { |
| 378 | /// Inserts the given default value in the entry if it is vacant and returns a mutable |
nothing calls this directly
no outgoing calls
no test coverage detected