Skip to main content

EventHandler

Type Alias EventHandler 

Source
pub type EventHandler = Arc<dyn Fn(&Event) + Send + Sync>;
Expand description

Event handler callback type

Aliased Typeยง

pub struct EventHandler { /* private fields */ }