MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / OpaquePtr

Class OpaquePtr

wasmtime-jni/src/opaque_ptr.rs:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22/// This should only be used with [`make_opaque`]
23#[repr(transparent)]
24pub struct OpaquePtr<'a, T> {
25 ptr: jlong,
26 ty: PhantomData<&'a T>,
27}
28
29impl<'a, T> OpaquePtr<'a, T> {
30 pub(crate) fn from(val: T) -> Self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…