Enum diffy::ConflictStyle
source · [−]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
sourceimpl Clone for ConflictStyle
impl Clone for ConflictStyle
sourcefn clone(&self) -> ConflictStyle
fn clone(&self) -> ConflictStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConflictStyle
impl Debug for ConflictStyle
impl Copy for ConflictStyle
Auto Trait Implementations
impl RefUnwindSafe for ConflictStyle
impl Send for ConflictStyle
impl Sync for ConflictStyle
impl Unpin for ConflictStyle
impl UnwindSafe for ConflictStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more