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

Method store_mut

crates/wasmtime/src/runtime/vm/instance.rs:1511–1516  ·  view source on GitHub ↗
(self: Pin<&mut Self>)

Source from the content-addressed store, hash-verified

1509 }
1510
1511 fn store_mut(self: Pin<&mut Self>) -> &mut Option<VMStoreRawPtr> {
1512 // SAFETY: this is a pin-projection to get a mutable reference to an
1513 // internal field and is safe so long as the `&mut Self` temporarily
1514 // created is not overwritten, which it isn't here.
1515 unsafe { &mut self.get_unchecked_mut().store }
1516 }
1517
1518 fn memories_mut(
1519 self: Pin<&mut Self>,

Callers 1

set_storeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected