Skip to main content

subsurface

Function subsurface 

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