pub struct PackIndexEntry {
pub oid: ObjectId,
pub offset: u64,
}Expand description
A parsed entry from an index file.
Fields§
§oid: ObjectIdObject identifier.
offset: u64Byte offset of the object in the corresponding .pack.
Trait Implementations§
Source§impl Clone for PackIndexEntry
impl Clone for PackIndexEntry
Source§fn clone(&self) -> PackIndexEntry
fn clone(&self) -> PackIndexEntry
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 moreAuto Trait Implementations§
impl Freeze for PackIndexEntry
impl RefUnwindSafe for PackIndexEntry
impl Send for PackIndexEntry
impl Sync for PackIndexEntry
impl Unpin for PackIndexEntry
impl UnsafeUnpin for PackIndexEntry
impl UnwindSafe for PackIndexEntry
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