pub struct PackBitmapEntry {
pub object_position: u32,
pub xor_offset: u8,
pub flags: u8,
pub bitmap: EwahBitmap,
}Fields§
§object_position: u32The commit’s position in the oid-sorted pack index (.idx order),
NOT the pack-order position used for the bitmap’s bit numbering.
Upstream writes oid_pos(...) here (pack-bitmap-write.c) and reads it
back via nth_packed_object_id (pack-bitmap.c).
xor_offset: u8§flags: u8§bitmap: EwahBitmapReachability bitmap; bit i refers to the i-th object in pack
order (offset order), as mapped by the pack’s reverse index.
Trait Implementations§
Source§impl Clone for PackBitmapEntry
impl Clone for PackBitmapEntry
Source§fn clone(&self) -> PackBitmapEntry
fn clone(&self) -> PackBitmapEntry
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 moreSource§impl Debug for PackBitmapEntry
impl Debug for PackBitmapEntry
impl Eq for PackBitmapEntry
Source§impl PartialEq for PackBitmapEntry
impl PartialEq for PackBitmapEntry
Source§fn eq(&self, other: &PackBitmapEntry) -> bool
fn eq(&self, other: &PackBitmapEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackBitmapEntry
Auto Trait Implementations§
impl Freeze for PackBitmapEntry
impl RefUnwindSafe for PackBitmapEntry
impl Send for PackBitmapEntry
impl Sync for PackBitmapEntry
impl Unpin for PackBitmapEntry
impl UnsafeUnpin for PackBitmapEntry
impl UnwindSafe for PackBitmapEntry
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