pub trait WinitComponent { fn on_event(&mut self, event: Event<'_, ()>, control_flow: &mut ControlFlow); }