Struct goblin::pe::optional_header::StandardFields64
source · #[repr(C)]pub struct StandardFields64 {
pub magic: u16,
pub major_linker_version: u8,
pub minor_linker_version: u8,
pub size_of_code: u32,
pub size_of_initialized_data: u32,
pub size_of_uninitialized_data: u32,
pub address_of_entry_point: u32,
pub base_of_code: u32,
}
Expand description
Standard 64-bit COFF fields (for PE32+
).
In winnt.h
, this is a subset of IMAGE_OPTIONAL_HEADER64
.
- For 32-bit version, see
StandardFields32
. - For unified version, see
StandardFields
.
Fields§
§magic: u16
See docs for StandardFields::magic
.
major_linker_version: u8
See docs for StandardFields::major_linker_version
.
minor_linker_version: u8
See docs for StandardFields::minor_linker_version
.
size_of_code: u32
See docs for StandardFields::size_of_code
.
size_of_initialized_data: u32
See docs for StandardFields::size_of_initialized_data
.
size_of_uninitialized_data: u32
See docs for StandardFields::size_of_uninitialized_data
.
address_of_entry_point: u32
See docs for StandardFields::address_of_entry_point
.
base_of_code: u32
See docs for StandardFields::base_of_code
.
Trait Implementations§
source§impl Clone for StandardFields64
impl Clone for StandardFields64
source§fn clone(&self) -> StandardFields64
fn clone(&self) -> StandardFields64
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 StandardFields64
impl Debug for StandardFields64
source§impl Default for StandardFields64
impl Default for StandardFields64
source§fn default() -> StandardFields64
fn default() -> StandardFields64
Returns the “default value” for a type. Read more
source§impl From<StandardFields> for StandardFields64
impl From<StandardFields> for StandardFields64
source§fn from(fields: StandardFields) -> Self
fn from(fields: StandardFields) -> Self
Converts to this type from the input type.
source§impl From<StandardFields64> for StandardFields
impl From<StandardFields64> for StandardFields
source§fn from(fields: StandardFields64) -> Self
fn from(fields: StandardFields64) -> Self
Converts to this type from the input type.
source§impl PartialEq for StandardFields64
impl PartialEq for StandardFields64
source§fn eq(&self, other: &StandardFields64) -> bool
fn eq(&self, other: &StandardFields64) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFromCtx<'a, Endian> for StandardFields64where
StandardFields64: 'a,
impl<'a> TryFromCtx<'a, Endian> for StandardFields64where
StandardFields64: 'a,
source§impl<'a> TryIntoCtx<Endian> for &'a StandardFields64
impl<'a> TryIntoCtx<Endian> for &'a StandardFields64
source§impl TryIntoCtx<Endian> for StandardFields64
impl TryIntoCtx<Endian> for StandardFields64
impl Copy for StandardFields64
impl StructuralPartialEq for StandardFields64
Auto Trait Implementations§
impl Freeze for StandardFields64
impl RefUnwindSafe for StandardFields64
impl Send for StandardFields64
impl Sync for StandardFields64
impl Unpin for StandardFields64
impl UnwindSafe for StandardFields64
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