pub enum PackedType {
Commit,
Tree,
Blob,
Tag,
OfsDelta,
RefDelta,
}Expand description
A pack object type as encoded in the packed stream header.
Variants§
Commit
Commit object.
Tree
Tree object.
Blob
Blob object.
Tag
Tag object.
OfsDelta
Offset delta.
RefDelta
Reference delta.
Implementations§
Trait Implementations§
Source§impl Clone for PackedType
impl Clone for PackedType
Source§fn clone(&self) -> PackedType
fn clone(&self) -> PackedType
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 PackedType
impl Debug for PackedType
Source§impl PartialEq for PackedType
impl PartialEq for PackedType
impl Copy for PackedType
impl Eq for PackedType
impl StructuralPartialEq for PackedType
Auto Trait Implementations§
impl Freeze for PackedType
impl RefUnwindSafe for PackedType
impl Send for PackedType
impl Sync for PackedType
impl Unpin for PackedType
impl UnsafeUnpin for PackedType
impl UnwindSafe for PackedType
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