pub trait GPUDeviceTrait<D: DomTypes> {
// Required methods
fn is_lost(&self) -> bool;
fn id(&self) -> WebGPUDevice;
fn channel(&self) -> WebGPU;
fn dispatch_error(&self, error: Error);
fn validate_texture_format_required_features(
&self,
gpu_texture_format: &GPUTextureFormat,
) -> Fallible<TextureFormat>;
}