pub trait IRenderLoopTask: Send + Sync {
// Required method
fn render(&self) -> bool;
}Expand description
A task polled by the render loop on each tick.
Tasks are shared with the render timer’s thread, so they must be thread-safe.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".