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

Method raw_copy

crates/core/src/error/ptr.rs:30–32  ·  view source on GitHub ↗

Make a raw copy of this pointer.

(&self)

Source from the content-addressed store, hash-verified

28
29 /// Make a raw copy of this pointer.
30 pub(crate) fn raw_copy(&self) -> Self {
31 Self::new(self.ptr)
32 }
33
34 pub(crate) fn into_non_null(self) -> NonNull<T> {
35 self.ptr

Callers 3

dropMethod · 0.80
into_owned_ptrMethod · 0.80
source_mutMethod · 0.80

Calls 1

newFunction · 0.50

Tested by

no test coverage detected