pub enum RefKind {
LocalBranch,
RemoteBranch,
Tag,
Other,
}Variants§
LocalBranch
Under refs/heads/.
RemoteBranch
Under refs/remotes/.
Tag
Under refs/tags/.
Other
Anything else (refs/notes/, refs/stash, custom namespaces).
Trait Implementations§
impl Copy for RefKind
impl Eq for RefKind
impl StructuralPartialEq for RefKind
Auto Trait Implementations§
impl Freeze for RefKind
impl RefUnwindSafe for RefKind
impl Send for RefKind
impl Sync for RefKind
impl Unpin for RefKind
impl UnsafeUnpin for RefKind
impl UnwindSafe for RefKind
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