pub type EventHandler = Box<dyn Fn(&Event) -> bool + Send + Sync>;
事件处理相关功能 事件处理器
pub struct EventHandler(/* private fields */);