pub fn fetch_mode<Message>( f: impl FnOnce(Mode) -> Message + 'static) -> Command<Message>
Fetches the current Mode of the window.
Mode