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

Required Methods§

Implementors§