pub enum ResolutionSide {
Ours,
Base,
Theirs,
}Expand description
Which side of a conflict a resolution keeps.
Variants§
Ours
The <<<<<<< side (typically HEAD).
Base
The ||||||| base (diff3/zdiff3 only).
Theirs
The >>>>>>> side (the merged-in branch).
Trait Implementations§
Source§impl Clone for ResolutionSide
impl Clone for ResolutionSide
Source§fn clone(&self) -> ResolutionSide
fn clone(&self) -> ResolutionSide
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 ResolutionSide
Source§impl Debug for ResolutionSide
impl Debug for ResolutionSide
impl Eq for ResolutionSide
Source§impl PartialEq for ResolutionSide
impl PartialEq for ResolutionSide
Source§fn eq(&self, other: &ResolutionSide) -> bool
fn eq(&self, other: &ResolutionSide) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolutionSide
Auto Trait Implementations§
impl Freeze for ResolutionSide
impl RefUnwindSafe for ResolutionSide
impl Send for ResolutionSide
impl Sync for ResolutionSide
impl Unpin for ResolutionSide
impl UnsafeUnpin for ResolutionSide
impl UnwindSafe for ResolutionSide
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