Skip to main content

WebGPUGlobalTrait

Trait WebGPUGlobalTrait 

Source
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§

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.

Implementors§