pub trait WindowHandler {
// Required methods
fn on_frame(&mut self, window: &mut Window<'_>);
fn on_event(&mut self, window: &mut Window<'_>, event: Event) -> EventStatus;
}pub trait WindowHandler {
// Required methods
fn on_frame(&mut self, window: &mut Window<'_>);
fn on_event(&mut self, window: &mut Window<'_>, event: Event) -> EventStatus;
}