Struct object::pe::ImportObjectHeader
source · [−]#[repr(C)]pub struct ImportObjectHeader {
pub sig1: U16<LE>,
pub sig2: U16<LE>,
pub version: U16<LE>,
pub machine: U16<LE>,
pub time_date_stamp: U32<LE>,
pub size_of_data: U32<LE>,
pub ordinal_or_hint: U16<LE>,
pub name_type: U16<LE>,
}
Fields
sig1: U16<LE>
Must be IMAGE_FILE_MACHINE_UNKNOWN
sig2: U16<LE>
Must be IMPORT_OBJECT_HDR_SIG2.
version: U16<LE>
machine: U16<LE>
time_date_stamp: U32<LE>
Time/date stamp
size_of_data: U32<LE>
particularly useful for incremental links
ordinal_or_hint: U16<LE>
if grf & IMPORT_OBJECT_ORDINAL
name_type: U16<LE>
Trait Implementations
sourceimpl Clone for ImportObjectHeader
impl Clone for ImportObjectHeader
sourcefn clone(&self) -> ImportObjectHeader
fn clone(&self) -> ImportObjectHeader
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 ImportObjectHeader
impl Debug for ImportObjectHeader
impl Copy for ImportObjectHeader
impl Pod for ImportObjectHeader
Auto Trait Implementations
impl RefUnwindSafe for ImportObjectHeader
impl Send for ImportObjectHeader
impl Sync for ImportObjectHeader
impl Unpin for ImportObjectHeader
impl UnwindSafe for ImportObjectHeader
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