pub struct Labels<'a> {
pub ancestor: Option<&'a BStr>,
pub current: Option<&'a BStr>,
pub other: Option<&'a BStr>,
}Available on crate feature
merge only.Expand description
The set of labels to annotate conflict markers with.
That way it becomes clearer where the content of conflicts are originating from.
Fields§
§ancestor: Option<&'a BStr>The label for the common ancestor.
current: Option<&'a BStr>The label for the current (or our) side.
other: Option<&'a BStr>The label for the other (or their) side.
Trait Implementations§
impl<'a> Copy for Labels<'a>
impl<'a> Eq for Labels<'a>
impl<'a> StructuralPartialEq for Labels<'a>
Auto Trait Implementations§
impl<'a> Freeze for Labels<'a>
impl<'a> RefUnwindSafe for Labels<'a>
impl<'a> Send for Labels<'a>
impl<'a> Sync for Labels<'a>
impl<'a> Unpin for Labels<'a>
impl<'a> UnwindSafe for Labels<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.