Skip to main content

MicrotaskRunnable

Trait MicrotaskRunnable 

Source
pub(crate) trait MicrotaskRunnable: JSTraceable + MallocSizeOf {
    // Provided method
    fn handler(&self, _cx: &mut JSContext) { ... }
}

Provided Methods§

Source

fn handler(&self, _cx: &mut JSContext)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§