Struct goblin::pe::optional_header::StandardFields32
source · [−]#[repr(C)]pub struct StandardFields32 {
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,
pub base_of_data: u32,
}
Expand description
standard COFF fields
Fields
magic: u16
major_linker_version: u8
minor_linker_version: u8
size_of_code: u32
size_of_initialized_data: u32
size_of_uninitialized_data: u32
address_of_entry_point: u32
base_of_code: u32
base_of_data: u32
absent in 64-bit PE32+
Trait Implementations
sourceimpl Clone for StandardFields32
impl Clone for StandardFields32
sourcefn clone(&self) -> StandardFields32
fn clone(&self) -> StandardFields32
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 StandardFields32
impl Debug for StandardFields32
sourceimpl Default for StandardFields32
impl Default for StandardFields32
sourcefn default() -> StandardFields32
fn default() -> StandardFields32
Returns the “default value” for a type. Read more
sourceimpl From<StandardFields32> for StandardFields
impl From<StandardFields32> for StandardFields
sourcefn from(fields: StandardFields32) -> Self
fn from(fields: StandardFields32) -> Self
Performs the conversion.
sourceimpl PartialEq<StandardFields32> for StandardFields32
impl PartialEq<StandardFields32> for StandardFields32
sourcefn eq(&self, other: &StandardFields32) -> bool
fn eq(&self, other: &StandardFields32) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StandardFields32) -> bool
fn ne(&self, other: &StandardFields32) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for StandardFields32 where
StandardFields32: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for StandardFields32 where
StandardFields32: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a StandardFields32
impl<'a> TryIntoCtx<Endian, [u8]> for &'a StandardFields32
sourceimpl TryIntoCtx<Endian, [u8]> for StandardFields32
impl TryIntoCtx<Endian, [u8]> for StandardFields32
impl Copy for StandardFields32
impl StructuralPartialEq for StandardFields32
Auto Trait Implementations
impl RefUnwindSafe for StandardFields32
impl Send for StandardFields32
impl Sync for StandardFields32
impl Unpin for StandardFields32
impl UnwindSafe for StandardFields32
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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