pub trait PaintWorkletGlobalScopeMethods {
    // 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§