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

Method index_mut

src/entity/primary_map.rs:225–227  ·  view source on GitHub ↗
(&mut self, k: K)

Source from the content-addressed store, hash-verified

223 #[inline]
224 #[track_caller]
225 fn index_mut(&mut self, k: K) -> &mut V {
226 &mut self.elems[k.index()]
227 }
228}
229
230impl<K, V> Index<EntityRange<K>> for PrimaryMap<K, V>

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected