Struct AnonObjectHeaderV2

struct AnonObjectHeaderV2 { ... }

Fields

sig1: crate::endian::U16<crate::endian::LittleEndian>

Must be IMAGE_FILE_MACHINE_UNKNOWN

sig2: crate::endian::U16<crate::endian::LittleEndian>

Must be 0xffff

version: crate::endian::U16<crate::endian::LittleEndian>

= 2 (implies the Flags field is present - otherwise V1)

machine: crate::endian::U16<crate::endian::LittleEndian>
time_date_stamp: crate::endian::U32<crate::endian::LittleEndian>
class_id: ClsId

Used to invoke CoCreateInstance

size_of_data: crate::endian::U32<crate::endian::LittleEndian>

Size of data that follows the header

flags: crate::endian::U32<crate::endian::LittleEndian>

0x1 -> contains metadata

meta_data_size: crate::endian::U32<crate::endian::LittleEndian>

Size of CLR metadata

meta_data_offset: crate::endian::U32<crate::endian::LittleEndian>

Offset of CLR metadata

Implementations

impl Clone for AnonObjectHeaderV2

fn clone(self: &Self) -> AnonObjectHeaderV2

impl Copy for AnonObjectHeaderV2

impl Debug for AnonObjectHeaderV2

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

impl Freeze for AnonObjectHeaderV2

impl Pod for AnonObjectHeaderV2

impl RefUnwindSafe for AnonObjectHeaderV2

impl Send for AnonObjectHeaderV2

impl Sync for AnonObjectHeaderV2

impl Unpin for AnonObjectHeaderV2

impl UnwindSafe for AnonObjectHeaderV2

impl<T> Any for AnonObjectHeaderV2

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AnonObjectHeaderV2

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

impl<T> BorrowMut for AnonObjectHeaderV2

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

impl<T> CloneToUninit for AnonObjectHeaderV2

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

impl<T> From for AnonObjectHeaderV2

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for AnonObjectHeaderV2

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

impl<T, U> Into for AnonObjectHeaderV2

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 AnonObjectHeaderV2

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

impl<T, U> TryInto for AnonObjectHeaderV2

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