pub type EventFn<Model> = fn(_: &App, _: &mut Model, _: WindowEvent);
A function for processing window events.