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
sourceimpl Clone for ImageNtHeaders32
impl Clone for ImageNtHeaders32
sourcefn clone(&self) -> ImageNtHeaders32
fn clone(&self) -> ImageNtHeaders32
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 ImageNtHeaders32
impl Debug for ImageNtHeaders32
sourceimpl ImageNtHeaders for ImageNtHeaders32
impl ImageNtHeaders for ImageNtHeaders32
type ImageOptionalHeader = ImageOptionalHeader32
type ImageThunkData = ImageThunkData32
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, 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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