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

Method index_mut

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

Source from the content-addressed store, hash-verified

113 K: EntityRef,
114{
115 fn index_mut(&mut self, k: K) -> &mut V {
116 &mut self.elems[k.index()]
117 }
118}
119
120impl<'a, K, V> IntoIterator for &'a BoxedSlice<K, V>

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected