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

Method as_mut

crates/wasmtime/src/runtime/vm/send_sync_ptr.rs:37–39  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

35 /// valid to get a mutable reference to it at this time.
36 #[inline]
37 pub unsafe fn as_mut<'a>(&mut self) -> &'a mut T {
38 unsafe { self.0.as_mut() }
39 }
40
41 /// Returns the underlying `NonNull<T>` wrapper.
42 #[inline]

Callers 15

readyMethod · 0.45
poll_writeMethod · 0.45
ioMethod · 0.45
get_exportMethod · 0.45
pollMethod · 0.45
take_pending_connectMethod · 0.45
readyMethod · 0.45
poll_readMethod · 0.45
pollMethod · 0.45
poll_produceMethod · 0.45
poll_flushMethod · 0.45
poll_consumeMethod · 0.45

Calls

no outgoing calls

Tested by 1

run_futureFunction · 0.36