Trait browser_window::event::EventExt
source · pub trait EventExt<H, O, A> {
// Required methods
fn register<X>(&mut self, handler: X)
where X: FnMut(&H, A) + Send + 'static;
fn register_async<X, F>(&mut self, handler: X)
where X: FnMut(O, A) -> F + Send + 'static,
F: Future<Output = ()> + 'static;
}
Required Methods§
Object Safety§
This trait is not object safe.