pub enum Command {
Show 32 variants
Noop,
Quit,
ShowHelp,
OpenRepo,
EnterRepo,
OpenBranch,
GoBack,
NewBranch,
DeleteWorktree,
MoveUp,
MoveDown,
HalfPageUp,
HalfPageDown,
PageUp,
PageDown,
MoveTop,
MoveBottom,
MoveCursorLeft,
MoveCursorRight,
MoveCursorWordLeft,
MoveCursorWordRight,
MoveCursorStart,
MoveCursorEnd,
DeleteBackwardChar,
DeleteForwardChar,
DeleteBackwardWord,
DeleteForwardWord,
DeleteToStart,
DeleteToEnd,
Confirm,
Cancel,
TabComplete,
}Expand description
Commands that can be bound to keys
Variants§
Noop
Quit
ShowHelp
OpenRepo
EnterRepo
OpenBranch
GoBack
NewBranch
DeleteWorktree
MoveUp
MoveDown
HalfPageUp
HalfPageDown
PageUp
PageDown
MoveTop
MoveBottom
MoveCursorLeft
MoveCursorRight
MoveCursorWordLeft
MoveCursorWordRight
MoveCursorStart
MoveCursorEnd
DeleteBackwardChar
DeleteForwardChar
DeleteBackwardWord
DeleteForwardWord
DeleteToStart
DeleteToEnd
Confirm
Cancel
TabComplete
Implementations§
Trait Implementations§
Source§impl Ord for Command
impl Ord for Command
Source§impl PartialOrd for Command
impl PartialOrd for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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