#[repr(C)]pub struct SectionEntry {
pub section_type: SectionType,
pub compression: CompressionAlgorithm,
pub _padding: [u8; 2],
pub section_id: u32,
pub offset: u64,
pub compressed_length: u64,
pub uncompressed_length: u64,
pub checksum: u32,
pub _padding2: [u8; 4],
}Expand description
セクションエントリ(40バイト)。
Fields§
§section_type: SectionTypeセクションタイプ。
compression: CompressionAlgorithm圧縮アルゴリズム。
_padding: [u8; 2]パディング(常にゼロ)。
section_id: u32セクションID。
offset: u64ファイル内オフセット。
compressed_length: u64圧縮後サイズ(ファイル上のバイト数)。
uncompressed_length: u64解凍後サイズ。
checksum: u32圧縮後データに対するチェックサム。
_padding2: [u8; 4]パディング(常にゼロ)。
Implementations§
Source§impl SectionEntry
impl SectionEntry
Trait Implementations§
Source§impl Clone for SectionEntry
impl Clone for SectionEntry
Source§fn clone(&self) -> SectionEntry
fn clone(&self) -> SectionEntry
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 SectionEntry
Source§impl Debug for SectionEntry
impl Debug for SectionEntry
impl Eq for SectionEntry
Source§impl PartialEq for SectionEntry
impl PartialEq for SectionEntry
impl StructuralPartialEq for SectionEntry
Auto Trait Implementations§
impl Freeze for SectionEntry
impl RefUnwindSafe for SectionEntry
impl Send for SectionEntry
impl Sync for SectionEntry
impl Unpin for SectionEntry
impl UnsafeUnpin for SectionEntry
impl UnwindSafe for SectionEntry
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