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
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
Trait Implementations
sourceimpl Clone for StandardFields64
impl Clone for StandardFields64
sourcefn clone(&self) -> StandardFields64
fn clone(&self) -> StandardFields64
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 StandardFields64
impl Debug for StandardFields64
sourceimpl Default for StandardFields64
impl Default for StandardFields64
sourcefn default() -> StandardFields64
fn default() -> StandardFields64
Returns the “default value” for a type. Read more
sourceimpl From<StandardFields64> for StandardFields
impl From<StandardFields64> for StandardFields
sourcefn from(fields: StandardFields64) -> Self
fn from(fields: StandardFields64) -> Self
Performs the conversion.
sourceimpl PartialEq<StandardFields64> for StandardFields64
impl PartialEq<StandardFields64> for StandardFields64
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StandardFields64) -> bool
fn ne(&self, other: &StandardFields64) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for StandardFields64 where
StandardFields64: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for StandardFields64 where
StandardFields64: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a StandardFields64
impl<'a> TryIntoCtx<Endian, [u8]> for &'a StandardFields64
sourceimpl TryIntoCtx<Endian, [u8]> for StandardFields64
impl TryIntoCtx<Endian, [u8]> for StandardFields64
impl Copy for StandardFields64
impl StructuralPartialEq for StandardFields64
Auto Trait Implementations
impl RefUnwindSafe for StandardFields64
impl Send for StandardFields64
impl Sync for StandardFields64
impl Unpin for StandardFields64
impl UnwindSafe for StandardFields64
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