#[non_exhaustive]pub enum DiffMerges {
FirstParent,
Combined,
}Expand description
How to diff a merge commit’s tree against its parents.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FirstParent
Diff merge result against the first parent only (non-merge commits always use this).
Combined
Dense combined diff against every parent (git show --cc).
Implementations§
Trait Implementations§
Source§impl Clone for DiffMerges
impl Clone for DiffMerges
impl Copy for DiffMerges
Source§impl Debug for DiffMerges
impl Debug for DiffMerges
Source§impl Default for DiffMerges
impl Default for DiffMerges
impl Eq for DiffMerges
Source§impl PartialEq for DiffMerges
impl PartialEq for DiffMerges
impl StructuralPartialEq for DiffMerges
Auto Trait Implementations§
impl Freeze for DiffMerges
impl RefUnwindSafe for DiffMerges
impl Send for DiffMerges
impl Sync for DiffMerges
impl Unpin for DiffMerges
impl UnsafeUnpin for DiffMerges
impl UnwindSafe for DiffMerges
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.