Skip to main content

app_layer_shell

Function app_layer_shell 

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