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

Required Methods§

Implementors§