servo/components/script/dom/webgpu
Martin Robinson e8f75c9aea
script: Expose node helpers as NodeTraits and give more descriptive names (#34832)
This puts a few commonly used `Node` helpers into a trait (`NodeTraits`)
and gives them more descriptive names and documentation. The renames:

- `document_from_node` -> `NodeTraits::owner_document`
- `window_from_node` -> `NodeTraits::owner_window`
- `stylesheets_owner_from_node<T:` -> `NodeTraits::stylesheet_list_owner`
- `containing_shadow_root` -> `NodeTraits::containing_shadow_root`

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-03 18:55:01 +00:00
..
gpu.rs script: Eliminate code duplication in the task queue (#34798) 2025-01-01 13:50:52 +00:00
gpuadapter.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpuadapterinfo.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpubindgroup.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpubindgrouplayout.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpubuffer.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpubufferusage.rs
gpucanvascontext.rs script: Expose node helpers as NodeTraits and give more descriptive names (#34832) 2025-01-03 18:55:01 +00:00
gpucolorwrite.rs
gpucommandbuffer.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpucommandencoder.rs chore: Update wgpu (#34795) 2025-01-02 14:25:33 +00:00
gpucompilationinfo.rs
gpucompilationmessage.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpucomputepassencoder.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpucomputepipeline.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpuconvert.rs chore: Update wgpu (#34795) 2025-01-02 14:25:33 +00:00
gpudevice.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpudevicelostinfo.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpuerror.rs Rewrite From/TryFrom conversions on generated types to avoid future orphan rule violations (#34554) 2024-12-11 05:52:48 +00:00
gpuinternalerror.rs
gpumapmode.rs
gpuoutofmemoryerror.rs
gpupipelineerror.rs
gpupipelinelayout.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpuqueryset.rs
gpuqueue.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpurenderbundle.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpurenderbundleencoder.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpurenderpassencoder.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpurenderpipeline.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpusampler.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpushadermodule.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpushaderstage.rs
gpusupportedfeatures.rs
gpusupportedlimits.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gputexture.rs Update wgpu for supporting TextureView.usage (#34721) 2024-12-21 05:18:27 +00:00
gputextureusage.rs
gputextureview.rs Add CanGc argument to reflect_dom_object (#34606) 2024-12-13 15:51:59 +00:00
gpuuncapturederrorevent.rs
gpuvalidationerror.rs
identityhub.rs
mod.rs