Type Alias script::dom::worker::TrustedWorkerAddress
source · pub type TrustedWorkerAddress = Trusted<Worker>;
Aliased Type§
struct TrustedWorkerAddress {
refcount: Arc<TrustedReference>,
owner_thread: *const LiveDOMReferences,
phantom: PhantomData<Worker>,
}
Fields§
§refcount: Arc<TrustedReference>
A pointer to the Rust DOM object of type T, but void to allow
sending Trusted<T>
between threads, regardless of T’s sendability.
owner_thread: *const LiveDOMReferences
§phantom: PhantomData<Worker>