Skip to main content

simple_layer_shell

Function simple_layer_shell 

Source
pub fn simple_layer_shell<Message: 'static>(
    live_settings: impl Fn() -> LiveSettings + Send + Sync + 'static,
    settings: impl Fn() -> SctkLayerSurfaceSettings + Send + Sync + 'static,
    view: Option<impl Fn() -> Element<'static, Action<Message>> + Send + Sync + 'static>,
) -> Action
Available on wayland_platform only.