pub struct UndoCommand;Expand description
Command implementation for git undo
Trait Implementations§
Source§impl Command for UndoCommand
impl Command for UndoCommand
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get a description of what this command does
Source§fn is_destructive(&self) -> bool
fn is_destructive(&self) -> bool
Whether this command performs destructive operations
Source§fn requires_git_repo(&self) -> bool
fn requires_git_repo(&self) -> bool
Whether this command requires a git repository to function
Auto Trait Implementations§
impl Freeze for UndoCommand
impl RefUnwindSafe for UndoCommand
impl Send for UndoCommand
impl Sync for UndoCommand
impl Unpin for UndoCommand
impl UnwindSafe for UndoCommand
Blanket Implementations§
Source§impl<T> ActionCommand for T
impl<T> ActionCommand for T
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