Enum jj_lib::files::MergeResult
source · pub enum MergeResult {
Resolved(ContentHunk),
Conflict(Vec<Merge<ContentHunk>>),
}
Variants§
Resolved(ContentHunk)
Conflict(Vec<Merge<ContentHunk>>)
Trait Implementations§
source§impl Clone for MergeResult
impl Clone for MergeResult
source§fn clone(&self) -> MergeResult
fn clone(&self) -> MergeResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MergeResult
impl Debug for MergeResult
source§impl PartialEq<MergeResult> for MergeResult
impl PartialEq<MergeResult> for MergeResult
source§fn eq(&self, other: &MergeResult) -> bool
fn eq(&self, other: &MergeResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MergeResult
impl StructuralEq for MergeResult
impl StructuralPartialEq for MergeResult
Auto Trait Implementations§
impl RefUnwindSafe for MergeResult
impl Send for MergeResult
impl Sync for MergeResult
impl Unpin 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