pub struct PeHeader {
pub dos_header: DosHeader,
pub nt_header: NtHeader,
pub coff_header: CoffHeader,
pub optional_header: OptionalHeader,
}Expand description
PE header structure
Combines all header information for a PE file, including DOS, NT, COFF, and optional headers. This structure provides complete metadata for the PE file.
Fields§
§dos_header: DosHeaderDOS header, contains DOS compatibility info
nt_header: NtHeaderNT header, contains PE signature
coff_header: CoffHeaderCOFF header, contains object file info
optional_header: OptionalHeaderOptional header, contains loading and runtime info
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PeHeader
impl<'de> Deserialize<'de> for PeHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PeHeader
impl RefUnwindSafe for PeHeader
impl Send for PeHeader
impl Sync for PeHeader
impl Unpin for PeHeader
impl UnsafeUnpin for PeHeader
impl UnwindSafe for PeHeader
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