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