pub trait GPUMethods<D: DomTypes> {
// Required methods
fn RequestAdapter(
&self,
options: &GPURequestAdapterOptions,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<D::Promise>;
fn GetPreferredCanvasFormat(&self) -> GPUTextureFormat;
fn WgslLanguageFeatures(
&self,
_can_gc: CanGc,
) -> DomRoot<D::WGSLLanguageFeatures>;
}