pub enum ConflictStyle {
Merge,
Diff3,
}
Expand description
Style used when rendering a conflict
Variants§
Merge
Renders conflicting lines from both files, separated by conflict markers.
<<<<<<< A
lines in file A
=======
lines in file B
>>>>>>> B
Diff3
Renders conflicting lines from both files including lines from the original files, separated by conflict markers.
<<<<<<< A
lines in file A
||||||| Original
lines in Original file
=======
lines in file B
>>>>>>> B
Trait Implementations§
Source§impl Clone for ConflictStyle
impl Clone for ConflictStyle
Source§fn clone(&self) -> ConflictStyle
fn clone(&self) -> ConflictStyle
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 ConflictStyle
impl Debug for ConflictStyle
impl Copy for ConflictStyle
Auto Trait Implementations§
impl Freeze for ConflictStyle
impl RefUnwindSafe for ConflictStyle
impl Send for ConflictStyle
impl Sync for ConflictStyle
impl Unpin for ConflictStyle
impl UnwindSafe for ConflictStyle
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