pub fn app_window<App: Application>(
live_settings: impl Fn(&App) -> LiveSettings + Send + Sync + 'static,
settings: impl Fn(&mut App) -> Settings + Send + Sync + 'static,
view: Option<Box<dyn Fn(&App) -> Element<'_, Action<<App as Application>::Message>> + Send + Sync + 'static>>,
) -> (Id, Action)Available on
wayland_platform only.