pub enum ResolveWith {
Ancestor,
Ours,
Theirs,
}
Expand description
What to do when having to pick a side to resolve a conflict.
Variants§
Ancestor
Chose the ancestor to resolve a conflict.
Ours
Chose our side to resolve a conflict.
Theirs
Chose their side to resolve a conflict.
Trait Implementations§
source§impl Clone for ResolveWith
impl Clone for ResolveWith
source§fn clone(&self) -> ResolveWith
fn clone(&self) -> ResolveWith
Returns a copy 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 ResolveWith
impl Debug for ResolveWith
source§impl Hash for ResolveWith
impl Hash for ResolveWith
source§impl Ord for ResolveWith
impl Ord for ResolveWith
source§fn cmp(&self, other: &ResolveWith) -> Ordering
fn cmp(&self, other: &ResolveWith) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ResolveWith
impl PartialEq for ResolveWith
source§impl PartialOrd for ResolveWith
impl PartialOrd for ResolveWith
impl Copy for ResolveWith
impl Eq for ResolveWith
impl StructuralPartialEq for ResolveWith
Auto Trait Implementations§
impl Freeze for ResolveWith
impl RefUnwindSafe for ResolveWith
impl Send for ResolveWith
impl Sync for ResolveWith
impl Unpin for ResolveWith
impl UnwindSafe for ResolveWith
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)