Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ cast
Method
cast
crates/core/src/error/ptr.rs:25–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
23
}
24
25
pub(crate) fn cast<U>(self) -> OwnedPtr<U> {
26
OwnedPtr::new(self.ptr.cast())
27
}
28
29
/// Make a raw copy of this pointer.
30
pub(crate) fn raw_copy(&self) -> Self {
Callers
2
shrink_to_fit
Method · 0.45
c_unchecked_callback_to_rust_fn
Function · 0.45
Calls
1
new
Function · 0.50
Tested by
no test coverage detected