1 2 3 4 5
use crate::prelude::EventBox; pub trait EventHandler: Send + Sync { fn handle(&mut self, event: &EventBox) -> bool; }