pub enum Ancestry {
Ahead,
Behind,
Identical,
Diverged,
}Expand description
How head relates to base on the repository’s history.
Variants§
Ahead
head contains base plus more commits.
Behind
head is an ancestor of base.
Identical
Diverged
Neither contains the other (e.g. a release branch).
Trait Implementations§
impl Copy for Ancestry
impl Eq for Ancestry
impl StructuralPartialEq for Ancestry
Auto Trait Implementations§
impl Forget for Ancestry
impl Freeze for Ancestry
impl Move for Ancestry
impl RefUnwindSafe for Ancestry
impl Send for Ancestry
impl Sync for Ancestry
impl Unpin for Ancestry
impl UnsafeUnpin for Ancestry
impl UnwindSafe for Ancestry
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