pub struct State { pub running: bool } pub fn new() -> State { return State { running: true, }; } pub fn update(state: &mut State) { }