pub struct Labels<'a> {
pub ancestor: Option<&'a BStr>,
pub current: Option<&'a BStr>,
pub other: Option<&'a BStr>,
}
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>
§current: Option<&'a BStr>
§other: Option<&'a BStr>
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