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

Method tables_mut

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

Source from the content-addressed store, hash-verified

1523 }
1524
1525 pub(crate) fn tables_mut(
1526 self: Pin<&mut Self>,
1527 ) -> &mut TryPrimaryMap<DefinedTableIndex, (TableAllocationIndex, Table)> {
1528 // SAFETY: see `store_mut` above.
1529 unsafe { &mut self.get_unchecked_mut().tables }
1530 }
1531
1532 #[cfg(feature = "wmemcheck")]
1533 pub(super) fn wmemcheck_state_mut(self: Pin<&mut Self>) -> &mut Option<Wmemcheck> {

Callers 5

newMethod · 0.80
get_defined_tableMethod · 0.80
initialize_vmctxMethod · 0.80
deallocate_moduleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected