pub enum BranchCategory {
Worktree,
Local,
Remote(Vec<String>),
}Expand description
Category of branch for completion display
Variants§
Worktree
Branch has an active worktree
Local
Local branch without worktree
Remote(Vec<String>)
Remote-only branch (includes remote names — multiple if same branch on multiple remotes)
Trait Implementations§
Source§impl Clone for BranchCategory
impl Clone for BranchCategory
Source§fn clone(&self) -> BranchCategory
fn clone(&self) -> BranchCategory
Returns a duplicate 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 BranchCategory
impl Debug for BranchCategory
Source§impl PartialEq for BranchCategory
impl PartialEq for BranchCategory
impl StructuralPartialEq for BranchCategory
Auto Trait Implementations§
impl Freeze for BranchCategory
impl RefUnwindSafe for BranchCategory
impl Send for BranchCategory
impl Sync for BranchCategory
impl Unpin for BranchCategory
impl UnsafeUnpin for BranchCategory
impl UnwindSafe for BranchCategory
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