Struct ImageOs2Header

struct ImageOs2Header { ... }

OS/2 .EXE header

Fields

ne_magic: crate::endian::U16<crate::endian::LittleEndian>

Magic number

ne_ver: i8

Version number

ne_rev: i8

Revision number

ne_enttab: crate::endian::U16<crate::endian::LittleEndian>

Offset of Entry Table

ne_cbenttab: crate::endian::U16<crate::endian::LittleEndian>

Number of bytes in Entry Table

ne_crc: crate::endian::I32<crate::endian::LittleEndian>

Checksum of whole file

ne_flags: crate::endian::U16<crate::endian::LittleEndian>

Flag word

ne_autodata: crate::endian::U16<crate::endian::LittleEndian>

Automatic data segment number

ne_heap: crate::endian::U16<crate::endian::LittleEndian>

Initial heap allocation

ne_stack: crate::endian::U16<crate::endian::LittleEndian>

Initial stack allocation

ne_csip: crate::endian::I32<crate::endian::LittleEndian>

Initial CS:IP setting

ne_sssp: crate::endian::I32<crate::endian::LittleEndian>

Initial SS:SP setting

ne_cseg: crate::endian::U16<crate::endian::LittleEndian>

Count of file segments

ne_cmod: crate::endian::U16<crate::endian::LittleEndian>

Entries in Module Reference Table

ne_cbnrestab: crate::endian::U16<crate::endian::LittleEndian>

Size of non-resident name table

ne_segtab: crate::endian::U16<crate::endian::LittleEndian>

Offset of Segment Table

ne_rsrctab: crate::endian::U16<crate::endian::LittleEndian>

Offset of Resource Table

ne_restab: crate::endian::U16<crate::endian::LittleEndian>

Offset of resident name table

ne_modtab: crate::endian::U16<crate::endian::LittleEndian>

Offset of Module Reference Table

ne_imptab: crate::endian::U16<crate::endian::LittleEndian>

Offset of Imported Names Table

ne_nrestab: crate::endian::I32<crate::endian::LittleEndian>

Offset of Non-resident Names Table

ne_cmovent: crate::endian::U16<crate::endian::LittleEndian>

Count of movable entries

ne_align: crate::endian::U16<crate::endian::LittleEndian>

Segment alignment shift count

ne_cres: crate::endian::U16<crate::endian::LittleEndian>

Count of resource segments

ne_exetyp: u8

Target Operating system

ne_flagsothers: u8

Other .EXE flags

ne_pretthunks: crate::endian::U16<crate::endian::LittleEndian>

offset to return thunks

ne_psegrefbytes: crate::endian::U16<crate::endian::LittleEndian>

offset to segment ref. bytes

ne_swaparea: crate::endian::U16<crate::endian::LittleEndian>

Minimum code swap area size

ne_expver: crate::endian::U16<crate::endian::LittleEndian>

Expected Windows version number

Implementations

impl Clone for ImageOs2Header

fn clone(self: &Self) -> ImageOs2Header

impl Copy for ImageOs2Header

impl Debug for ImageOs2Header

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Freeze for ImageOs2Header

impl Pod for ImageOs2Header

impl RefUnwindSafe for ImageOs2Header

impl Send for ImageOs2Header

impl Sync for ImageOs2Header

impl Unpin for ImageOs2Header

impl UnwindSafe for ImageOs2Header

impl<T> Any for ImageOs2Header

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ImageOs2Header

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ImageOs2Header

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

impl<T> CloneToUninit for ImageOs2Header

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ImageOs2Header

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ImageOs2Header

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ImageOs2Header

fn into(self: Self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom for ImageOs2Header

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

impl<T, U> TryInto for ImageOs2Header

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