pub trait MainFunction: FnMut(Context, &mut Ui) { }
The main function where your game logic is ran each frame. Takes in a Context.
Context