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

Method set

tests/all/component_model/bindgen.rs:1086–1088  ·  view source on GitHub ↗
(&mut self, key: u32, value: u32)

Source from the content-addressed store, hash-verified

1084 }
1085
1086 fn set(&mut self, key: u32, value: u32) {
1087 self.kv.insert(key, value);
1088 }
1089 }
1090
1091 let engine = engine();

Calls 2

insertMethod · 0.45
pushMethod · 0.45

Tested by 12

array_set_in_boundsFunction · 0.36
table_zeroedFunction · 0.36
mutabilityFunction · 0.36
use_after_dropFunction · 0.36
v128Function · 0.36
i31ref_global_setFunction · 0.36
i31ref_table_setFunction · 0.36