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
sourceimpl Clone for AnonObjectHeader
impl Clone for AnonObjectHeader
sourcefn clone(&self) -> AnonObjectHeader
fn clone(&self) -> AnonObjectHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more