pub(crate) trait GPUCanvasContextMethods<D: DomTypes> {
    // Required methods
    fn Canvas(&self) -> HTMLCanvasElementOrOffscreenCanvas<D>;
    fn Configure(&self, descriptor: &GPUCanvasConfiguration<D>) -> Fallible<()>;
    fn Unconfigure(&self);
    fn GetCurrentTexture(&self) -> Fallible<DomRoot<D::GPUTexture>>;
}

Required Methods§

Implementors§