Skip to main content

SpeculativePainter

Trait SpeculativePainter 

Source
pub trait SpeculativePainter: Send + Sync {
    // Required method
    fn speculatively_draw_a_paint_image(
        &self,
        properties: Vec<(Atom, String)>,
        arguments: Vec<String>,
    );
}
Expand description

Speculatively execute paint code in the worklet thread pool.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§