script::dom

Module promisenativehandler

Source

Structs§

Constants§

Traits§

  • Callback 🔒
    Types that implement the Callback trait follow the same rooting requirements as types that use the #[dom_struct] attribute. Prefer storing Dom<T> members inside them instead of DomRoot<T> to minimize redundant work by the garbage collector.