Struct OptionalHeaderExt

Source
#[repr(C)]
pub struct OptionalHeaderExt<FORMAT: Type = Pe> {
Show 21 fields pub image_base: FORMAT::AddressSpace, pub section_alignment: Integer<LittleEndian<u32>, AlignAs<4>>, pub file_alignment: Integer<LittleEndian<u32>, AlignAs<4>>, pub major_operating_system_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub minor_operating_system_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub major_image_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub minor_image_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub major_subsystem_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub minor_subsystem_version: Integer<LittleEndian<u16>, AlignAs<2>>, pub win32_version_value: Integer<LittleEndian<u32>, AlignAs<4>>, pub size_of_image: Integer<LittleEndian<u32>, AlignAs<4>>, pub size_of_headers: Integer<LittleEndian<u32>, AlignAs<4>>, pub check_sum: Integer<LittleEndian<u32>, AlignAs<4>>, pub subsystem: Integer<LittleEndian<u16>, AlignAs<2>>, pub dll_characteristics: Integer<LittleEndian<u16>, AlignAs<2>>, pub size_of_stack_reserve: FORMAT::AddressSpace, pub size_of_stack_commit: FORMAT::AddressSpace, pub size_of_heap_reserve: FORMAT::AddressSpace, pub size_of_heap_commit: FORMAT::AddressSpace, pub loader_flags: Integer<LittleEndian<u32>, AlignAs<4>>, pub number_of_rva_and_sizes: Integer<LittleEndian<u32>, AlignAs<4>>,
}

Fields§

§image_base: FORMAT::AddressSpace§section_alignment: Integer<LittleEndian<u32>, AlignAs<4>>§file_alignment: Integer<LittleEndian<u32>, AlignAs<4>>§major_operating_system_version: Integer<LittleEndian<u16>, AlignAs<2>>§minor_operating_system_version: Integer<LittleEndian<u16>, AlignAs<2>>§major_image_version: Integer<LittleEndian<u16>, AlignAs<2>>§minor_image_version: Integer<LittleEndian<u16>, AlignAs<2>>§major_subsystem_version: Integer<LittleEndian<u16>, AlignAs<2>>§minor_subsystem_version: Integer<LittleEndian<u16>, AlignAs<2>>§win32_version_value: Integer<LittleEndian<u32>, AlignAs<4>>§size_of_image: Integer<LittleEndian<u32>, AlignAs<4>>§size_of_headers: Integer<LittleEndian<u32>, AlignAs<4>>§check_sum: Integer<LittleEndian<u32>, AlignAs<4>>§subsystem: Integer<LittleEndian<u16>, AlignAs<2>>§dll_characteristics: Integer<LittleEndian<u16>, AlignAs<2>>§size_of_stack_reserve: FORMAT::AddressSpace§size_of_stack_commit: FORMAT::AddressSpace§size_of_heap_reserve: FORMAT::AddressSpace§size_of_heap_commit: FORMAT::AddressSpace§loader_flags: Integer<LittleEndian<u32>, AlignAs<4>>§number_of_rva_and_sizes: Integer<LittleEndian<u32>, AlignAs<4>>

Auto Trait Implementations§

§

impl<FORMAT> Freeze for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: Freeze,

§

impl<FORMAT> RefUnwindSafe for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: RefUnwindSafe,

§

impl<FORMAT> Send for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: Send,

§

impl<FORMAT> Sync for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: Sync,

§

impl<FORMAT> Unpin for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: Unpin,

§

impl<FORMAT> UnwindSafe for OptionalHeaderExt<FORMAT>
where <FORMAT as Type>::AddressSpace: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.