pub struct PackEntry {
pub chunk_id: u32,
pub sector_offset: u32,
pub sector_count: u32,
pub byte_size: u32,
pub checksum: u32,
}Expand description
One chunk-table entry.
Fields§
§chunk_id: u32Caller-chosen chunk id (the pack is keyed by these, not by index).
sector_offset: u32Payload start, in sectors from the beginning of the pack.
sector_count: u32Payload length in whole sectors.
byte_size: u32Exact payload length in bytes.
checksum: u32FNV-1a over the payload bytes (see fnv1a32).
Trait Implementations§
impl Copy for PackEntry
impl Eq for PackEntry
impl StructuralPartialEq for PackEntry
Auto Trait Implementations§
impl Freeze for PackEntry
impl RefUnwindSafe for PackEntry
impl Send for PackEntry
impl Sync for PackEntry
impl Unpin for PackEntry
impl UnsafeUnpin for PackEntry
impl UnwindSafe for PackEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)