#[repr(C)]pub struct DosHeader {
pub signature: u16,
pub pe_pointer: u32,
}
Expand description
DOS header present in all PE binaries
Fields§
§signature: u16
Magic number: 5a4d
pe_pointer: u32
Pointer to PE header, always at offset 0x3c
Implementations§
Trait Implementations§
source§impl PartialEq for DosHeader
impl PartialEq for DosHeader
impl Copy for DosHeader
impl StructuralPartialEq for DosHeader
Auto Trait Implementations§
impl RefUnwindSafe for DosHeader
impl Send for DosHeader
impl Sync for DosHeader
impl Unpin for DosHeader
impl UnwindSafe for DosHeader
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