Structs
- The
PresentInput
struct is passed to the [present
] method of theApp
trait to provide information about the current frame.
Enums
- The
PresentResult
is returned by thepresent
method of theApp
trait to indicate whether the screen has changed since the last frame. - The
TickResult
is returned by thetick
method of theApp
trait to indicate whether the game should continue or quit.
Traits
- The
App
trait is the main interface for the game. It is called by the framework to update the game state and render the game.