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

Class SendSyncPtr

crates/wasmtime/src/runtime/vm/send_sync_ptr.rs:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7/// properties of `T`.
8#[repr(transparent)]
9pub struct SendSyncPtr<T: ?Sized>(NonNull<T>);
10
11unsafe impl<T: Send + ?Sized> Send for SendSyncPtr<T> {}
12unsafe impl<T: Sync + ?Sized> Sync for SendSyncPtr<T> {}

Callers 2

newMethod · 0.85
castMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected