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

Method ext_move

crates/core/src/error/context.rs:277–282  ·  view source on GitHub ↗
(self, to: NonNull<u8>)

Source from the content-addressed store, hash-verified

275 }
276
277 unsafe fn ext_move(self, to: NonNull<u8>) {
278 // Safety: implied by this trait method's contract.
279 unsafe {
280 to.cast::<C>().write(self.context);
281 }
282 }
283
284 #[cfg(feature = "backtrace")]
285 fn take_backtrace(&mut self) -> Option<std::backtrace::Backtrace> {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected