pub trait Context<'a, Input> { // Required methods fn input(&self) -> &Input; fn delta(&self) -> Duration; fn shutdown(&mut self); }
Context to be passed to the Application during the update routine.
Get stored input system.
Get simulated time passed since the previous update.
Tell the backend to shutdown.