pub enum Pick {
Ancestor,
Ours,
Theirs,
Buffer,
}
Expand description
An identifier to tell us how a merge conflict was resolved by builtin_merge.
Variants§
Ancestor
In a binary merge, chose the ancestor.
Use PlatformRef::buffer_by_pick()
to retrieve it.
Ours
In a binary merge, chose our side.
Use PlatformRef::buffer_by_pick()
to retrieve it.
Theirs
In a binary merge, chose their side.
Use PlatformRef::buffer_by_pick()
to retrieve it.
Buffer
New data was produced with the result of the merge, to be found in the buffer that was passed to builtin_merge(). This happens for any merge that isn’t a binary merge.
Trait Implementations§
Source§impl Ord for Pick
impl Ord for Pick
Source§impl PartialOrd for Pick
impl PartialOrd for Pick
impl Copy for Pick
impl Eq for Pick
impl StructuralPartialEq for Pick
Auto Trait Implementations§
impl Freeze for Pick
impl RefUnwindSafe for Pick
impl Send for Pick
impl Sync for Pick
impl Unpin for Pick
impl UnwindSafe for Pick
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