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
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
)