pub fn change_mode<Message>(id: Id, mode: Mode) -> Command<Message>
Changes the Mode of the window.
Mode