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

Method index

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

Source from the content-addressed store, hash-verified

212 #[inline]
213 #[track_caller]
214 fn index(&self, k: K) -> &V {
215 &self.elems[k.index()]
216 }
217}
218
219impl<K, V> IndexMut<K> for PrimaryMap<K, V>

Callers 4

is_validMethod · 0.45
getMethod · 0.45
get_mutMethod · 0.45
index_mutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected