Trait avalanche::renderer::Scheduler[][src]

pub trait Scheduler {
    fn schedule_on_ui_thread(&mut self, f: Box<dyn FnOnce()>);
}
Expand description

An interface to schedule a function on a platform’s ui thread.

Required methods

Schedule the given function to be run on the ui thread in the future.

Implementors