Struct object::pe::ImageNtHeaders64
source · #[repr(C)]pub struct ImageNtHeaders64 {
pub signature: U32<LittleEndian>,
pub file_header: ImageFileHeader,
pub optional_header: ImageOptionalHeader64,
}
Fields§
§signature: U32<LittleEndian>
§file_header: ImageFileHeader
§optional_header: ImageOptionalHeader64
Trait Implementations§
source§impl Clone for ImageNtHeaders64
impl Clone for ImageNtHeaders64
source§fn clone(&self) -> ImageNtHeaders64
fn clone(&self) -> ImageNtHeaders64
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 ImageNtHeaders64
impl Debug for ImageNtHeaders64
source§impl ImageNtHeaders for ImageNtHeaders64
impl ImageNtHeaders for ImageNtHeaders64
type ImageOptionalHeader = ImageOptionalHeader64
type ImageThunkData = ImageThunkData64
source§fn is_type_64(&self) -> bool
fn is_type_64(&self) -> bool
Return true if this type is a 64-bit header. Read more
source§fn 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.
source§fn file_header(&self) -> &ImageFileHeader
fn file_header(&self) -> &ImageFileHeader
Return the file header.
source§fn optional_header(&self) -> &Self::ImageOptionalHeader
fn optional_header(&self) -> &Self::ImageOptionalHeader
Return the optional header.
source§fn parse<'data, R: ReadRef<'data>>(
data: R,
offset: &mut u64,
) -> Result<(&'data Self, DataDirectories<'data>)>
fn parse<'data, R: ReadRef<'data>>( data: R, offset: &mut u64, ) -> Result<(&'data Self, DataDirectories<'data>)>
Read the NT headers, including the data directories. Read more
impl Copy for ImageNtHeaders64
impl Pod for ImageNtHeaders64
Auto Trait Implementations§
impl Freeze for ImageNtHeaders64
impl RefUnwindSafe for ImageNtHeaders64
impl Send for ImageNtHeaders64
impl Sync for ImageNtHeaders64
impl Unpin for ImageNtHeaders64
impl UnwindSafe for ImageNtHeaders64
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)