pub trait State: 'static { // Required methods fn update(&mut self, ctx: &mut Context<'_>); fn draw(&mut self, ctx: &mut Context<'_>); }