pub trait AppState<V: GlowVertexAttribs> {
// Provided methods
fn on_init(&mut self, graphics: &mut Graphics<V>) { ... }
fn on_redraw(&mut self, graphics: &mut Graphics<V>) { ... }
fn on_event(&mut self, event: Event<'_, ()>, window: &mut Window) -> bool { ... }
}