pub struct MergeResult {
pub content: String,
pub has_conflicts: bool,
pub conflict_count: usize,
}Expand description
Result of a three-way merge.
Fields§
§content: StringThe merged text (may contain conflict markers if has_conflicts is true).
has_conflicts: booltrue if any conflicting hunks were found and could not be auto-resolved.
conflict_count: usizeNumber of conflict hunks inserted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MergeResult
impl RefUnwindSafe for MergeResult
impl Send for MergeResult
impl Sync for MergeResult
impl Unpin for MergeResult
impl UnsafeUnpin for MergeResult
impl UnwindSafe for MergeResult
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