pub enum WorktreeStatus {
Clean,
Modified(RepoPath),
Added(RepoPath),
Deleted(RepoPath),
Untracked(RepoPath),
}Variants§
Trait Implementations§
Source§impl Clone for WorktreeStatus
impl Clone for WorktreeStatus
Source§fn clone(&self) -> WorktreeStatus
fn clone(&self) -> WorktreeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorktreeStatus
impl Debug for WorktreeStatus
impl Eq for WorktreeStatus
Source§impl PartialEq for WorktreeStatus
impl PartialEq for WorktreeStatus
Source§fn eq(&self, other: &WorktreeStatus) -> bool
fn eq(&self, other: &WorktreeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorktreeStatus
Auto Trait Implementations§
impl Freeze for WorktreeStatus
impl RefUnwindSafe for WorktreeStatus
impl Send for WorktreeStatus
impl Sync for WorktreeStatus
impl Unpin for WorktreeStatus
impl UnsafeUnpin for WorktreeStatus
impl UnwindSafe for WorktreeStatus
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