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

Required Methods§

Source

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

Source

fn Sleep(&self, ms: u64)

Implementors§