Struct goblin::pe::optional_header::StandardFields
source · pub struct StandardFields {
pub magic: u16,
pub major_linker_version: u8,
pub minor_linker_version: u8,
pub size_of_code: u64,
pub size_of_initialized_data: u64,
pub size_of_uninitialized_data: u64,
pub address_of_entry_point: u64,
pub base_of_code: u64,
pub base_of_data: u32,
}
Expand description
Unified 32/64-bit COFF fields
Fields§
§magic: u16
§major_linker_version: u8
§minor_linker_version: u8
§size_of_code: u64
§size_of_initialized_data: u64
§size_of_uninitialized_data: u64
§address_of_entry_point: u64
§base_of_code: u64
§base_of_data: u32
absent in 64-bit PE32+
Trait Implementations§
source§impl Clone for StandardFields
impl Clone for StandardFields
source§fn clone(&self) -> StandardFields
fn clone(&self) -> StandardFields
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 StandardFields
impl Debug for StandardFields
source§impl Default for StandardFields
impl Default for StandardFields
source§fn default() -> StandardFields
fn default() -> StandardFields
Returns the “default value” for a type. Read more
source§impl From<StandardFields32> for StandardFields
impl From<StandardFields32> for StandardFields
source§fn from(fields: StandardFields32) -> Self
fn from(fields: StandardFields32) -> 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 StandardFields
impl PartialEq for StandardFields
source§fn eq(&self, other: &StandardFields) -> bool
fn eq(&self, other: &StandardFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StandardFields
impl StructuralPartialEq for StandardFields
Auto Trait Implementations§
impl RefUnwindSafe for StandardFields
impl Send for StandardFields
impl Sync for StandardFields
impl Unpin for StandardFields
impl UnwindSafe for StandardFields
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