Struct object::pe::ImageNtHeaders32
source · #[repr(C)]pub struct ImageNtHeaders32 {
pub signature: U32<LE>,
pub file_header: ImageFileHeader,
pub optional_header: ImageOptionalHeader32,
}
Fields§
§signature: U32<LE>
§file_header: ImageFileHeader
§optional_header: ImageOptionalHeader32
Trait Implementations§
source§impl Clone for ImageNtHeaders32
impl Clone for ImageNtHeaders32
source§fn clone(&self) -> ImageNtHeaders32
fn clone(&self) -> ImageNtHeaders32
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 ImageNtHeaders32
impl Debug for ImageNtHeaders32
source§impl ImageNtHeaders for ImageNtHeaders32
impl ImageNtHeaders for ImageNtHeaders32
type ImageOptionalHeader = ImageOptionalHeader32
type ImageThunkData = ImageThunkData32
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 ImageNtHeaders32
impl Pod for ImageNtHeaders32
Auto Trait Implementations§
impl RefUnwindSafe for ImageNtHeaders32
impl Send for ImageNtHeaders32
impl Sync for ImageNtHeaders32
impl Unpin for ImageNtHeaders32
impl UnwindSafe for ImageNtHeaders32
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