#[repr(C)]pub struct _IMAGE_OPTIONAL_HEADER {Show 31 fields
pub Magic: WORD,
pub MajorLinkerVersion: BYTE,
pub MinorLinkerVersion: BYTE,
pub SizeOfCode: DWORD,
pub SizeOfInitializedData: DWORD,
pub SizeOfUninitializedData: DWORD,
pub AddressOfEntryPoint: DWORD,
pub BaseOfCode: DWORD,
pub BaseOfData: DWORD,
pub ImageBase: DWORD,
pub SectionAlignment: DWORD,
pub FileAlignment: DWORD,
pub MajorOperatingSystemVersion: WORD,
pub MinorOperatingSystemVersion: WORD,
pub MajorImageVersion: WORD,
pub MinorImageVersion: WORD,
pub MajorSubsystemVersion: WORD,
pub MinorSubsystemVersion: WORD,
pub Win32VersionValue: DWORD,
pub SizeOfImage: DWORD,
pub SizeOfHeaders: DWORD,
pub CheckSum: DWORD,
pub Subsystem: WORD,
pub DllCharacteristics: WORD,
pub SizeOfStackReserve: DWORD,
pub SizeOfStackCommit: DWORD,
pub SizeOfHeapReserve: DWORD,
pub SizeOfHeapCommit: DWORD,
pub LoaderFlags: DWORD,
pub NumberOfRvaAndSizes: DWORD,
pub DataDirectory: [IMAGE_DATA_DIRECTORY; 16],
}Fields§
§Magic: WORD§MajorLinkerVersion: BYTE§MinorLinkerVersion: BYTE§SizeOfCode: DWORD§SizeOfInitializedData: DWORD§SizeOfUninitializedData: DWORD§AddressOfEntryPoint: DWORD§BaseOfCode: DWORD§BaseOfData: DWORD§ImageBase: DWORD§SectionAlignment: DWORD§FileAlignment: DWORD§MajorOperatingSystemVersion: WORD§MinorOperatingSystemVersion: WORD§MajorImageVersion: WORD§MinorImageVersion: WORD§MajorSubsystemVersion: WORD§MinorSubsystemVersion: WORD§Win32VersionValue: DWORD§SizeOfImage: DWORD§SizeOfHeaders: DWORD§CheckSum: DWORD§Subsystem: WORD§DllCharacteristics: WORD§SizeOfStackReserve: DWORD§SizeOfStackCommit: DWORD§SizeOfHeapReserve: DWORD§SizeOfHeapCommit: DWORD§LoaderFlags: DWORD§NumberOfRvaAndSizes: DWORD§DataDirectory: [IMAGE_DATA_DIRECTORY; 16]Trait Implementations§
Source§impl Clone for _IMAGE_OPTIONAL_HEADER
impl Clone for _IMAGE_OPTIONAL_HEADER
Source§fn clone(&self) -> _IMAGE_OPTIONAL_HEADER
fn clone(&self) -> _IMAGE_OPTIONAL_HEADER
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _IMAGE_OPTIONAL_HEADER
impl Debug for _IMAGE_OPTIONAL_HEADER
impl Copy for _IMAGE_OPTIONAL_HEADER
Auto Trait Implementations§
impl Freeze for _IMAGE_OPTIONAL_HEADER
impl RefUnwindSafe for _IMAGE_OPTIONAL_HEADER
impl Send for _IMAGE_OPTIONAL_HEADER
impl Sync for _IMAGE_OPTIONAL_HEADER
impl Unpin for _IMAGE_OPTIONAL_HEADER
impl UnwindSafe for _IMAGE_OPTIONAL_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