pub fn run(options: WindowOptions, app: impl App) -> Result<(), WindowError>Expand description
Opens a window for app and runs until it is closed.
ยงErrors
WindowError if the window, the GPU or the fonts cannot be set up, a frame cannot be
drawn, or App::build fails.