Struct object::pe::AnonObjectHeader
source · #[repr(C)]pub struct AnonObjectHeader {
pub sig1: U16<LittleEndian>,
pub sig2: U16<LittleEndian>,
pub version: U16<LittleEndian>,
pub machine: U16<LittleEndian>,
pub time_date_stamp: U32<LittleEndian>,
pub class_id: ClsId,
pub size_of_data: U32<LittleEndian>,
}
Expand description
Non-COFF Object file header
Fields§
§sig1: U16<LittleEndian>
Must be IMAGE_FILE_MACHINE_UNKNOWN
sig2: U16<LittleEndian>
Must be 0xffff
version: U16<LittleEndian>
= 1 (implies the ClsId field is present)
machine: U16<LittleEndian>
§time_date_stamp: U32<LittleEndian>
§class_id: ClsId
Used to invoke CoCreateInstance
size_of_data: U32<LittleEndian>
Size of data that follows the header
Trait Implementations§
source§impl Clone for AnonObjectHeader
impl Clone for AnonObjectHeader
source§fn clone(&self) -> AnonObjectHeader
fn clone(&self) -> AnonObjectHeader
Returns a copy 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 AnonObjectHeader
impl Debug for AnonObjectHeader
impl Copy for AnonObjectHeader
impl Pod for AnonObjectHeader
Auto Trait Implementations§
impl Freeze for AnonObjectHeader
impl RefUnwindSafe for AnonObjectHeader
impl Send for AnonObjectHeader
impl Sync for AnonObjectHeader
impl Unpin for AnonObjectHeader
impl UnwindSafe for AnonObjectHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)