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

Method insert

cranelift/entity/src/sparse.rs:150–164  ·  view source on GitHub ↗

Insert a value into the map. If the map did not have this key present, `None` is returned. If the map did have this key present, the value is updated, and the old value is returned. It is not necessary to provide a key since the value knows its own key already.

(&mut self, value: V)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

replaceFunction · 0.50
keyMethod · 0.45
get_mutMethod · 0.45
lenMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected