Function iced::window::fetch_mode

pub fn fetch_mode<Message>(
    id: Id,
    f: impl FnOnce(Mode) -> Message + 'static
) -> Command<Message>
Expand description

Fetches the current Mode of the window.