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

Method ext_move

crates/core/src/error/error.rs:1274–1279  ·  view source on GitHub ↗
(self, dest: NonNull<u8>)

Source from the content-addressed store, hash-verified

1272 }
1273
1274 unsafe fn ext_move(self, dest: NonNull<u8>) {
1275 // Safety: implied by this trait method's safety contract.
1276 unsafe {
1277 dest.cast::<E>().write(self.0);
1278 }
1279 }
1280
1281 fn ext_is(&self, type_id: TypeId) -> bool {
1282 // NB: need to check type id of `E`, not `Self` aka

Callers 1

move_intoFunction · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected