MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / OccupiedEntry

Class OccupiedEntry

src/entity/sparse.rs:472–478  ·  view source on GitHub ↗

A view into an occupied entry in an [`SparseMap`]. It is part of the [`Entry`] enum.

Source from the content-addressed store, hash-verified

470where
471 K: EntityRef,
472{
473 map: &'a mut SparseMap<K, V>,
474 index: usize,
475}
476
477impl<'a, K, V> OccupiedEntry<'a, K, V>
478where
479 K: EntityRef,
480{
481 /// Return the index of the key-value pair

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected