pub enum WorkingDirState {
Clean,
HasUnstagedChanges,
HasStagedChanges,
HasMixedChanges,
}Expand description
State of the working directory
Variants§
Clean
No uncommitted changes
HasUnstagedChanges
Has unstaged changes only
HasStagedChanges
Has staged changes only
HasMixedChanges
Has both staged and unstaged changes
Implementations§
Trait Implementations§
Source§impl Clone for WorkingDirState
impl Clone for WorkingDirState
Source§fn clone(&self) -> WorkingDirState
fn clone(&self) -> WorkingDirState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkingDirState
impl Debug for WorkingDirState
Source§impl PartialEq for WorkingDirState
impl PartialEq for WorkingDirState
impl Eq for WorkingDirState
impl StructuralPartialEq for WorkingDirState
Auto Trait Implementations§
impl Freeze for WorkingDirState
impl RefUnwindSafe for WorkingDirState
impl Send for WorkingDirState
impl Sync for WorkingDirState
impl Unpin for WorkingDirState
impl UnwindSafe for WorkingDirState
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