pub struct EntryLayout {
pub index: usize,
pub lfh_offset: u64,
pub data_start: u64,
pub central: HeaderFields,
pub local: HeaderFields,
pub extra: ExtraFields,
}Expand description
One entry’s raw structural layout: the central-directory and local-file-header copies of its fields plus offsets, for cross-checking (tamper detection).
Fields§
§index: usizeIndex in central-directory order.
lfh_offset: u64Absolute offset of the local file header.
data_start: u64Absolute offset of the entry’s first data byte.
central: HeaderFieldsFields as recorded in the central directory.
local: HeaderFieldsFields as recorded in the local file header.
extra: ExtraFieldsParsed common extra fields from the central-directory header.
Trait Implementations§
Source§impl Clone for EntryLayout
impl Clone for EntryLayout
Source§fn clone(&self) -> EntryLayout
fn clone(&self) -> EntryLayout
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 moreAuto Trait Implementations§
impl Freeze for EntryLayout
impl RefUnwindSafe for EntryLayout
impl Send for EntryLayout
impl Sync for EntryLayout
impl Unpin for EntryLayout
impl UnsafeUnpin for EntryLayout
impl UnwindSafe for EntryLayout
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