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

Method index

cranelift/entity/src/boxed_slice.rs:105–107  ·  view source on GitHub ↗
(&self, k: K)

Source from the content-addressed store, hash-verified

103 type Output = V;
104
105 fn index(&self, k: K) -> &V {
106 &self.elems[k.index()]
107 }
108}
109
110/// Mutable indexing into a `BoxedSlice`.

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