pub trait PaintWorkletGlobalScopeMethods<D: DomTypes> {
    // Required methods
    fn RegisterPaint(
        &self,
        name: DOMString,
        paintCtor: Rc<VoidFunction>,
    ) -> Result<(), Error>;
    fn Sleep(&self, ms: u64);
}

Required Methods§

source

fn RegisterPaint( &self, name: DOMString, paintCtor: Rc<VoidFunction>, ) -> Result<(), Error>

source

fn Sleep(&self, ms: u64)

Implementors§