Skip to main content

lock

Function lock 

Source
pub fn lock<Message: 'static>(
    live_settings: impl Fn() -> LiveSettings + Send + Sync + 'static,
    id: Id,
    output: WlOutput,
    view: Option<impl Fn() -> Element<'static, Action<Message>> + Send + Sync + 'static>,
) -> Action<Message>
Available on wayland_platform only.