Struct goblin::pe::optional_header::WindowsFields32
source · [−]#[repr(C)]pub struct WindowsFields32 {Show 21 fields
pub image_base: u32,
pub section_alignment: u32,
pub file_alignment: u32,
pub major_operating_system_version: u16,
pub minor_operating_system_version: u16,
pub major_image_version: u16,
pub minor_image_version: u16,
pub major_subsystem_version: u16,
pub minor_subsystem_version: u16,
pub win32_version_value: u32,
pub size_of_image: u32,
pub size_of_headers: u32,
pub check_sum: u32,
pub subsystem: u16,
pub dll_characteristics: u16,
pub size_of_stack_reserve: u32,
pub size_of_stack_commit: u32,
pub size_of_heap_reserve: u32,
pub size_of_heap_commit: u32,
pub loader_flags: u32,
pub number_of_rva_and_sizes: u32,
}
Expand description
Windows specific fields
Fields
image_base: u32
section_alignment: u32
file_alignment: u32
major_operating_system_version: u16
minor_operating_system_version: u16
major_image_version: u16
minor_image_version: u16
major_subsystem_version: u16
minor_subsystem_version: u16
win32_version_value: u32
size_of_image: u32
size_of_headers: u32
check_sum: u32
subsystem: u16
dll_characteristics: u16
size_of_stack_reserve: u32
size_of_stack_commit: u32
size_of_heap_reserve: u32
size_of_heap_commit: u32
loader_flags: u32
number_of_rva_and_sizes: u32
Trait Implementations
sourceimpl Clone for WindowsFields32
impl Clone for WindowsFields32
sourcefn clone(&self) -> WindowsFields32
fn clone(&self) -> WindowsFields32
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 WindowsFields32
impl Debug for WindowsFields32
sourceimpl Default for WindowsFields32
impl Default for WindowsFields32
sourcefn default() -> WindowsFields32
fn default() -> WindowsFields32
Returns the “default value” for a type. Read more
sourceimpl From<WindowsFields32> for WindowsFields
impl From<WindowsFields32> for WindowsFields
sourcefn from(windows: WindowsFields32) -> Self
fn from(windows: WindowsFields32) -> Self
Performs the conversion.
sourceimpl PartialEq<WindowsFields32> for WindowsFields32
impl PartialEq<WindowsFields32> for WindowsFields32
sourcefn eq(&self, other: &WindowsFields32) -> bool
fn eq(&self, other: &WindowsFields32) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowsFields32) -> bool
fn ne(&self, other: &WindowsFields32) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for WindowsFields32 where
WindowsFields32: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for WindowsFields32 where
WindowsFields32: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a WindowsFields32
impl<'a> TryIntoCtx<Endian, [u8]> for &'a WindowsFields32
sourceimpl TryIntoCtx<Endian, [u8]> for WindowsFields32
impl TryIntoCtx<Endian, [u8]> for WindowsFields32
impl Copy for WindowsFields32
impl StructuralPartialEq for WindowsFields32
Auto Trait Implementations
impl RefUnwindSafe for WindowsFields32
impl Send for WindowsFields32
impl Sync for WindowsFields32
impl Unpin for WindowsFields32
impl UnwindSafe for WindowsFields32
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