pub enum GitObjKind {
Blob,
Tree,
Commit,
Tag,
}Expand description
The git object type names cat-file --batch reports.
Variants§
Trait Implementations§
Source§impl Clone for GitObjKind
impl Clone for GitObjKind
Source§fn clone(&self) -> GitObjKind
fn clone(&self) -> GitObjKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GitObjKind
Source§impl Debug for GitObjKind
impl Debug for GitObjKind
impl Eq for GitObjKind
Source§impl PartialEq for GitObjKind
impl PartialEq for GitObjKind
Source§fn eq(&self, other: &GitObjKind) -> bool
fn eq(&self, other: &GitObjKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitObjKind
Auto Trait Implementations§
impl Freeze for GitObjKind
impl RefUnwindSafe for GitObjKind
impl Send for GitObjKind
impl Sync for GitObjKind
impl Unpin for GitObjKind
impl UnsafeUnpin for GitObjKind
impl UnwindSafe for GitObjKind
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