pub struct LayerEntry {
pub data_size: u32,
pub first_lrov: u32,
pub first_layr: u32,
pub additional_sector_count: u32,
pub data_offset: u64,
pub sector_id: u32,
}Expand description
One (layer, sector) of the layer table.
Fields§
§data_size: u32Bytes of this layer’s data for this sector; 0 means none.
first_lrov: u32Directory index of this (layer, sector)’s LROV chunk; 0 means no
overrides. Index 0 is HEAD, so 0 is a safe null.
first_layr: u32Directory index of the LAYR chunk holding this sector’s run.
additional_sector_count: u32Further entries for this layer, ascending sector_id; non-zero only on
the layer’s first entry.
data_offset: u64Offset of this layer’s slice inside first_layr’s decompressed output.
sector_id: u32This entry’s sector. 0 is the primary sector.
Implementations§
Trait Implementations§
Source§impl Clone for LayerEntry
impl Clone for LayerEntry
Source§fn clone(&self) -> LayerEntry
fn clone(&self) -> LayerEntry
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 moreimpl Copy for LayerEntry
Source§impl Debug for LayerEntry
impl Debug for LayerEntry
Source§impl Default for LayerEntry
impl Default for LayerEntry
Source§fn default() -> LayerEntry
fn default() -> LayerEntry
Returns the “default value” for a type. Read more
impl Eq for LayerEntry
Source§impl PartialEq for LayerEntry
impl PartialEq for LayerEntry
impl StructuralPartialEq for LayerEntry
Auto Trait Implementations§
impl Freeze for LayerEntry
impl RefUnwindSafe for LayerEntry
impl Send for LayerEntry
impl Sync for LayerEntry
impl Unpin for LayerEntry
impl UnsafeUnpin for LayerEntry
impl UnwindSafe for LayerEntry
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