#[repr(C)]pub struct Header {
pub wad_type: [u8; 4],
pub entry_no: u32,
pub dir_ptr: u32,
}
Expand description
Contains the wad type (IWAD or PWAD), how many entries it has, and a pointer to the first entry.
Fields§
§wad_type: [u8; 4]
§entry_no: u32
§dir_ptr: u32
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