script::dom::bindings

Module weakref

Source

Structs§

  • DOMTracker 🔒
  • A mutable weak reference to a JS-managed DOM object. On tracing, the contained weak reference is dropped if the pointee was already collected.
  • WeakBox 🔒
    The inner box of weak references, public for the finalization in codegen.
  • WeakRef 🔒
    A weak reference to a JS-managed DOM object.
  • An entry of a vector of weak references. Passed to the closure given to WeakRefVec::update.
  • WeakRefVec 🔒
    A vector of weak references. On tracing, the vector retains only references which still point to live objects.

Traits§