pub struct Index {
pub dfd_byte_offset: u32,
pub dfd_byte_length: u32,
pub kvd_byte_offset: u32,
pub kvd_byte_length: u32,
pub sgd_byte_offset: u64,
pub sgd_byte_length: u64,
}Expand description
Byte offsets and lengths (from start of file) for the DFD, KVD, and SGD sections.
You typically don’t need these directly — use Reader::dfd_blocks,
Reader::key_value_data, and Reader::supercompression_global_data instead.
Fields§
§dfd_byte_offset: u32Byte offset of the Data Format Descriptor section.
dfd_byte_length: u32Byte length of the Data Format Descriptor section.
kvd_byte_offset: u32Byte offset of the Key/Value Data section.
kvd_byte_length: u32Byte length of the Key/Value Data section. 0 if absent.
sgd_byte_offset: u64Byte offset of the Supercompression Global Data section.
sgd_byte_length: u64Byte length of the Supercompression Global Data section. 0 if absent.
Trait Implementations§
impl Copy for Index
impl Eq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnsafeUnpin for Index
impl UnwindSafe for Index
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