Enum EnableDisableSubmenuAction
enum EnableDisableSubmenuAction {
Enable,
Disable,
Toggle,
Navigate(NavigationDirection),
NoOp,
}Expand description
Enable/disable-submenu action a keystroke classifies into.
Extracted from Daemon::handle_enable_disable_submenu_key’s
dispatch match for the same reason as ControlModeAction.
Variants§
Enable
[e] - force the targeted client(s) to ClientState::Active.
Disable
[d] - force the targeted client(s) to ClientState::Disabled.
Toggle
[t] - flip the targeted client(s)’ ClientState.
Arrow key or vim motion - move the submenu’s selection cursor.
NoOp
Any other key while the submenu is open.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more