pub fn run<A: App>(app: A)Expand description
Run the application. Blocks until the window is closed; in a browser, whose page must not block, it returns once the app is running.
Panics on init failure (no Wayland compositor, missing protocol, etc.).
Embedders that need to recover gracefully — e.g. fall back to a
software TTY UI when no compositor is reachable — should call
try_run instead and match on the returned RunError.