pub trait Program { // Required methods fn update(&mut self, frame: Frame<'_>); fn should_exit(&self) -> bool; }