#[repr(packed(1))]pub struct Header {
pub signature: [u8; 4],
pub header_bytes: u32,
pub header_checksum: u32,
pub table_bytes: u32,
pub table_checksum: u32,
pub table_entries: u32,
}
Fields§
§signature: [u8; 4]
§header_bytes: u32
§header_checksum: u32
§table_bytes: u32
§table_checksum: u32
§table_entries: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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