Type Alias script::dom::filereader::TrustedFileReader

source ·
pub type TrustedFileReader = Trusted<FileReader>;

Aliased Type§

struct TrustedFileReader {
    refcount: Arc<TrustedReference>,
    owner_thread: *const LiveDOMReferences,
    phantom: PhantomData<FileReader>,
}

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<FileReader>