pub enum ConflictStyle {
Merge,
Diff3,
}Expand description
Which conflict-marker style merge_blobs emits.
Variants§
Merge
Standard two-section markers (<<<<<<< / ======= / >>>>>>>).
Diff3
diff3 style: also include the common-ancestor section between ours
and the ======= divider, delimited by |||||||.
Trait Implementations§
Source§impl Clone for ConflictStyle
impl Clone for ConflictStyle
Source§fn clone(&self) -> ConflictStyle
fn clone(&self) -> ConflictStyle
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 Copy for ConflictStyle
Source§impl Debug for ConflictStyle
impl Debug for ConflictStyle
Source§impl Default for ConflictStyle
impl Default for ConflictStyle
Source§fn default() -> ConflictStyle
fn default() -> ConflictStyle
Returns the “default value” for a type. Read more
impl Eq for ConflictStyle
Source§impl PartialEq for ConflictStyle
impl PartialEq for ConflictStyle
Source§fn eq(&self, other: &ConflictStyle) -> bool
fn eq(&self, other: &ConflictStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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 UnsafeUnpin 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