pub struct TreeMergeConflictPresentation<'a> {
pub label_ours: &'a str,
pub label_theirs: TheirsConflictLabel<'a>,
pub label_base: &'a str,
pub style: ConflictStyle,
pub checkout_merge: bool,
}Expand description
Labels and marker style for conflict output during tree merges.
Fields§
§label_ours: &'a strLabel after <<<<<<< (Git: ours side name).
label_theirs: TheirsConflictLabel<'a>Label after >>>>>>> (path-based or fixed).
label_base: &'a strLabel after ||||||| in diff3 output.
style: ConflictStyleTwo-way vs diff3 markers.
checkout_merge: boolgit checkout -m: always leave unmerged index entries when ours ≠ theirs.
Trait Implementations§
Source§impl<'a> Clone for TreeMergeConflictPresentation<'a>
impl<'a> Clone for TreeMergeConflictPresentation<'a>
Source§fn clone(&self) -> TreeMergeConflictPresentation<'a>
fn clone(&self) -> TreeMergeConflictPresentation<'a>
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<'a> Copy for TreeMergeConflictPresentation<'a>
Source§impl<'a> Debug for TreeMergeConflictPresentation<'a>
impl<'a> Debug for TreeMergeConflictPresentation<'a>
Auto Trait Implementations§
impl<'a> Freeze for TreeMergeConflictPresentation<'a>
impl<'a> RefUnwindSafe for TreeMergeConflictPresentation<'a>
impl<'a> Send for TreeMergeConflictPresentation<'a>
impl<'a> Sync for TreeMergeConflictPresentation<'a>
impl<'a> Unpin for TreeMergeConflictPresentation<'a>
impl<'a> UnsafeUnpin for TreeMergeConflictPresentation<'a>
impl<'a> UnwindSafe for TreeMergeConflictPresentation<'a>
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