pub struct IMAGE_OPTIONAL_HEADER32 {
Show 31 fields pub Magic: u16, pub MajorLinkerVersion: u8, pub MinorLinkerVersion: u8, pub SizeOfCode: u32, pub SizeOfInitializedData: u32, pub SizeOfUninitializedData: u32, pub AddressOfEntryPoint: u32, pub BaseOfCode: u32, pub BaseOfData: u32, pub ImageBase: u32, pub SectionAlignment: u32, pub FileAlignment: u32, pub MajorOperatingSystemVersion: u16, pub MinorOperatingSystemVersion: u16, pub MajorImageVersion: u16, pub MinorImageVersion: u16, pub MajorSubsystemVersion: u16, pub MinorSubsystemVersion: u16, pub Win32VersionValue: u32, pub SizeOfImage: u32, pub SizeOfHeaders: u32, pub CheckSum: u32, pub Subsystem: u16, pub DllCharacteristics: u16, pub SizeOfStackReserve: u32, pub SizeOfStackCommit: u32, pub SizeOfHeapReserve: u32, pub SizeOfHeapCommit: u32, pub LoaderFlags: u32, pub NumberOfRvaAndSizes: u32, pub DataDirectory: [IMAGE_DATA_DIRECTORY; 16],
}

Fields§

§Magic: u16§MajorLinkerVersion: u8§MinorLinkerVersion: u8§SizeOfCode: u32§SizeOfInitializedData: u32§SizeOfUninitializedData: u32§AddressOfEntryPoint: u32§BaseOfCode: u32§BaseOfData: u32§ImageBase: u32§SectionAlignment: u32§FileAlignment: u32§MajorOperatingSystemVersion: u16§MinorOperatingSystemVersion: u16§MajorImageVersion: u16§MinorImageVersion: u16§MajorSubsystemVersion: u16§MinorSubsystemVersion: u16§Win32VersionValue: u32§SizeOfImage: u32§SizeOfHeaders: u32§CheckSum: u32§Subsystem: u16§DllCharacteristics: u16§SizeOfStackReserve: u32§SizeOfStackCommit: u32§SizeOfHeapReserve: u32§SizeOfHeapCommit: u32§LoaderFlags: u32§NumberOfRvaAndSizes: u32§DataDirectory: [IMAGE_DATA_DIRECTORY; 16]

Trait Implementations§

source§

impl Clone for IMAGE_OPTIONAL_HEADER32

source§

fn clone(&self) -> IMAGE_OPTIONAL_HEADER32

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for IMAGE_OPTIONAL_HEADER32

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.