pub trait WebGPUGlobalTrait: Sized + DomObject {
// Required methods
fn global_wgpu_id_hub(&self) -> Arc<IdentityHub> ⓘ;
fn queue_webgpu_task_source(&self, task: impl TaskOnce + 'static);
}Required Methods§
fn global_wgpu_id_hub(&self) -> Arc<IdentityHub> ⓘ
fn queue_webgpu_task_source(&self, task: impl TaskOnce + 'static)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.