pub enum CombinedParentStatus {
Added,
Modified,
Deleted,
Renamed,
}Expand description
Per-parent coarse status in a combined diff (A / M / D).
Variants§
Added
Parent lacks the path; merge tree added it.
Modified
Parent has the path at the same name as the merge result.
Deleted
Path removed from merge (only in parents that had it at the min name).
Renamed
Path renamed relative to this parent (-M/--combined-all-paths); the source name is
carried on CombinedParentSide::rename_from.
Trait Implementations§
Source§impl Clone for CombinedParentStatus
impl Clone for CombinedParentStatus
Source§fn clone(&self) -> CombinedParentStatus
fn clone(&self) -> CombinedParentStatus
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 moreimpl Copy for CombinedParentStatus
Source§impl Debug for CombinedParentStatus
impl Debug for CombinedParentStatus
impl Eq for CombinedParentStatus
Source§impl PartialEq for CombinedParentStatus
impl PartialEq for CombinedParentStatus
Source§fn eq(&self, other: &CombinedParentStatus) -> bool
fn eq(&self, other: &CombinedParentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CombinedParentStatus
Auto Trait Implementations§
impl Freeze for CombinedParentStatus
impl RefUnwindSafe for CombinedParentStatus
impl Send for CombinedParentStatus
impl Sync for CombinedParentStatus
impl Unpin for CombinedParentStatus
impl UnsafeUnpin for CombinedParentStatus
impl UnwindSafe for CombinedParentStatus
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