pub trait GPUCanvasContextMethods {
    // Required methods
    fn Canvas(&self) -> HTMLCanvasElementOrOffscreenCanvas;
    fn Configure(&self, descriptor: &GPUCanvasConfiguration);
    fn Unconfigure(&self);
    fn GetCurrentTexture(&self) -> Result<Root<Dom<GPUTexture>>, Error>;
}

Required Methods§

Implementors§