pub enum GitBranch {
Current,
Remote,
Local,
Detached,
Ahead,
Behind,
Diverged,
}
Expand description
Git branch indicators
Variants§
Current
Current branch
Remote
Remote branch
Local
Local branch
Detached
Detached HEAD
Ahead
Branch ahead
Behind
Branch behind
Diverged
Branch diverged
Trait Implementations§
Source§impl UnicodeProvider for GitBranch
impl UnicodeProvider for GitBranch
impl Copy for GitBranch
Auto Trait Implementations§
impl Freeze for GitBranch
impl RefUnwindSafe for GitBranch
impl Send for GitBranch
impl Sync for GitBranch
impl Unpin for GitBranch
impl UnwindSafe for GitBranch
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