pub struct MergeBlobOptions<'a> {
pub ours_label: &'a str,
pub theirs_label: &'a str,
pub base_label: &'a str,
pub style: ConflictStyle,
}Expand description
Labels and style controlling merge_blobs conflict markers.
Fields§
§ours_label: &'a strLabel after the opening <<<<<<< marker (typically the local branch).
theirs_label: &'a strLabel after the closing >>>>>>> marker (typically the other branch).
base_label: &'a strLabel after the ||||||| marker (only used for ConflictStyle::Diff3).
style: ConflictStyleWhich marker style to emit.
Trait Implementations§
Source§impl<'a> Clone for MergeBlobOptions<'a>
impl<'a> Clone for MergeBlobOptions<'a>
Source§fn clone(&self) -> MergeBlobOptions<'a>
fn clone(&self) -> MergeBlobOptions<'a>
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<'a> Copy for MergeBlobOptions<'a>
Source§impl<'a> Debug for MergeBlobOptions<'a>
impl<'a> Debug for MergeBlobOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for MergeBlobOptions<'a>
impl<'a> RefUnwindSafe for MergeBlobOptions<'a>
impl<'a> Send for MergeBlobOptions<'a>
impl<'a> Sync for MergeBlobOptions<'a>
impl<'a> Unpin for MergeBlobOptions<'a>
impl<'a> UnsafeUnpin for MergeBlobOptions<'a>
impl<'a> UnwindSafe for MergeBlobOptions<'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