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

Method cast

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

Source from the content-addressed store, hash-verified

47 /// Cast this to a pointer to a `U`.
48 #[inline]
49 pub fn cast<U>(&self) -> SendSyncPtr<U> {
50 SendSyncPtr(self.0.cast::<U>())
51 }
52}
53
54impl<T> SendSyncPtr<[T]> {

Callers 15

fd_readMethod · 0.45
fd_preadMethod · 0.45
fd_writeMethod · 0.45
fd_pwriteMethod · 0.45
poll_oneoffMethod · 0.45
_from_rawMethod · 0.45
to_raw_Method · 0.45
array_call_trampolineMethod · 0.45
dataMethod · 0.45
call_rawMethod · 0.45
trampoline_ptrsMethod · 0.45

Calls 1

SendSyncPtrClass · 0.85

Tested by

no test coverage detected