Type Alias script::dom::bindings::import::module::RawHandleId

source ·
pub type RawHandleId = Handle<PropertyKey>;
Expand description

Reference to a T that has been rooted elsewhere. This is most useful as a parameter type, which guarantees that the T lvalue is properly rooted. See “Move GC Stack Rooting” above.

If you want to add additional methods to Handle for a specific specialization, define a HandleOperations specialization containing them.

Aliased Type§

struct RawHandleId {
    pub ptr: *const PropertyKey,
    pub _phantom_0: PhantomData<UnsafeCell<PropertyKey>>,
}

Fields§

§ptr: *const PropertyKey§_phantom_0: PhantomData<UnsafeCell<PropertyKey>>