pub fn run<R: 'static>(app: impl FnMut(&Ui<'_>) -> R) -> Result<()>
Run an application with the default RunConfig
RunConfig
This will block the current thread until the application exits.