pub struct Merge {
pub conflict_log: ConflictLog,
pub edit_log: EditLog,
/* private fields */
}Expand description
The main merge struct that orchestrates the 3-way merge.
Fields§
§conflict_log: ConflictLogLog of conflicts encountered during merge.
edit_log: EditLogLog of edit operations performed.
Implementations§
Source§impl Merge
impl Merge
Sourcepub fn new(matching: TriMatching) -> Self
pub fn new(matching: TriMatching) -> Self
Creates a new Merge from a TriMatching.
Sourcepub fn matching(&self) -> &TriMatching
pub fn matching(&self) -> &TriMatching
Returns a reference to the tri-matching.
Auto Trait Implementations§
impl Freeze for Merge
impl !RefUnwindSafe for Merge
impl !Send for Merge
impl !Sync for Merge
impl Unpin for Merge
impl !UnwindSafe for Merge
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