pub fn run<B: Backend>(
program: Program,
backend: B,
on_error: ErrorHandler,
) -> Result<(), RuntimeError>Expand description
Shows the program’s windows on backend and runs until the app quits. Errors during
events go to on_error.
§Errors
When setting up state or building the first UI fails.