Struct object::pe::AnonObjectHeader
source · #[repr(C)]pub struct AnonObjectHeader {
pub sig1: U16<LE>,
pub sig2: U16<LE>,
pub version: U16<LE>,
pub machine: U16<LE>,
pub time_date_stamp: U32<LE>,
pub class_id: ClsId,
pub size_of_data: U32<LE>,
}
Expand description
Non-COFF Object file header
Fields§
§sig1: U16<LE>
Must be IMAGE_FILE_MACHINE_UNKNOWN
sig2: U16<LE>
Must be 0xffff
version: U16<LE>
= 1 (implies the ClsId field is present)
machine: U16<LE>
§time_date_stamp: U32<LE>
§class_id: ClsId
Used to invoke CoCreateInstance
size_of_data: U32<LE>
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 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