Struct dharma::dispatcher::Dispatcher
[−]
[src]
pub struct Dispatcher { /* fields omitted */ }
Structure representing dispatcher of system events for use in multi-threaded program.
This version of Dispatcher
does not accept EventHandler
s which are not Send
.
Methods
impl Dispatcher
[src]
fn new() -> Self
Constructs new Dispatcher
.
fn get_controller(&self) -> DispatcherController
Return controller.
fn run(&mut self)
Starts processing events in current thread.