MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / index

Method index

cranelift/entity/src/primary.rs:263–265  ·  view source on GitHub ↗
(&self, k: K)

Source from the content-addressed store, hash-verified

261 type Output = V;
262
263 fn index(&self, k: K) -> &V {
264 &self.elems[k.index()]
265 }
266}
267
268/// Mutable indexing into an `PrimaryMap`.

Callers 7

is_validMethod · 0.45
getMethod · 0.45
get_rangeMethod · 0.45
get_mutMethod · 0.45
get_disjoint_mutMethod · 0.45
get_raw_mutMethod · 0.45
index_mutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected