#[repr(C)]pub struct FileHeader {
pub magic: [u8; 8],
pub family: u16,
pub version: u16,
pub flags: u32,
pub header_length: u64,
pub file_length: u64,
}Expand description
Decoded fixed-width file header.
Fields§
§magic: [u8; 8]Permanent eight-byte file magic.
family: u16Registered artifact family.
version: u16Additive family version.
flags: u32Family-owned flags.
header_length: u64Bytes occupied by the complete artifact header.
file_length: u64Exact file length including the whole-file trailer.
Trait Implementations§
Source§impl Clone for FileHeader
impl Clone for FileHeader
impl Copy for FileHeader
Source§impl Debug for FileHeader
impl Debug for FileHeader
impl Eq for FileHeader
Source§impl PartialEq for FileHeader
impl PartialEq for FileHeader
impl StructuralPartialEq for FileHeader
Auto Trait Implementations§
impl Freeze for FileHeader
impl RefUnwindSafe for FileHeader
impl Send for FileHeader
impl Sync for FileHeader
impl Unpin for FileHeader
impl UnsafeUnpin for FileHeader
impl UnwindSafe for FileHeader
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