Struct object::pe::ImageNtHeaders64
source · [−]#[repr(C)]pub struct ImageNtHeaders64 {
pub signature: U32<LE>,
pub file_header: ImageFileHeader,
pub optional_header: ImageOptionalHeader64,
}
Fields
signature: U32<LE>
file_header: ImageFileHeader
optional_header: ImageOptionalHeader64
Trait Implementations
sourceimpl Clone for ImageNtHeaders64
impl Clone for ImageNtHeaders64
sourcefn clone(&self) -> ImageNtHeaders64
fn clone(&self) -> ImageNtHeaders64
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 ImageNtHeaders64
impl Debug for ImageNtHeaders64
sourceimpl ImageNtHeaders for ImageNtHeaders64
impl ImageNtHeaders for ImageNtHeaders64
type ImageOptionalHeader = ImageOptionalHeader64
sourcefn is_type_64(&self) -> bool
fn is_type_64(&self) -> bool
Return true if this type is a 64-bit header. Read more
sourcefn is_valid_optional_magic(&self) -> bool
fn is_valid_optional_magic(&self) -> bool
Return true if the magic field in the optional header is valid.
sourcefn file_header(&self) -> &ImageFileHeader
fn file_header(&self) -> &ImageFileHeader
Return the file header.
sourcefn optional_header(&self) -> &Self::ImageOptionalHeader
fn optional_header(&self) -> &Self::ImageOptionalHeader
Return the optional header.
sourcefn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<(&'data Self, &'data [ImageDataDirectory])>
fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64
) -> Result<(&'data Self, &'data [ImageDataDirectory])>
Read the NT headers, including the data directories. Read more
impl Copy for ImageNtHeaders64
impl Pod for ImageNtHeaders64
Auto Trait Implementations
impl RefUnwindSafe for ImageNtHeaders64
impl Send for ImageNtHeaders64
impl Sync for ImageNtHeaders64
impl Unpin for ImageNtHeaders64
impl UnwindSafe for ImageNtHeaders64
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