Constant script::dom::bindings::weakref::DOM_WEAK_SLOT

source ยท
pub const DOM_WEAK_SLOT: u32 = 1;
Expand description

The index of the slot wherein a pointer to the weak holder cell is stored for weak-referenceable bindings. We use slot 1 for holding it, this is unsafe for globals, we disallow weak-referenceable globals directly in codegen.