#[repr(C)]pub struct AuxSectionDefinition {
pub length: u32,
pub number_of_relocations: u16,
pub number_of_line_numbers: u16,
pub checksum: u32,
pub number: u16,
pub selection: u8,
pub unused: [u8; 3],
}
Expand description
Auxiliary symbol record for section definitions.
Fields
length: u32
The size of section data; the same as size_of_raw_data
in the section header.
number_of_relocations: u16
The number of relocation entries for the section.
number_of_line_numbers: u16
The number of line-number entries for the section.
checksum: u32
The checksum for communal data.
It is applicable if the IMAGE_SCN_LNK_COMDAT
flag is set in the section header.
number: u16
One-based index into the section table for the associated section.
This is used when the selection
field is IMAGE_COMDAT_SELECT_ASSOCIATIVE
.
selection: u8
The COMDAT selection number.
This is applicable if the section is a COMDAT section.
unused: [u8; 3]
Unused padding.
Trait Implementations
sourceimpl Clone for AuxSectionDefinition
impl Clone for AuxSectionDefinition
sourcefn clone(&self) -> AuxSectionDefinition
fn clone(&self) -> AuxSectionDefinition
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 AuxSectionDefinition
impl Debug for AuxSectionDefinition
sourceimpl Default for AuxSectionDefinition
impl Default for AuxSectionDefinition
sourcefn default() -> AuxSectionDefinition
fn default() -> AuxSectionDefinition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AuxSectionDefinition> for AuxSectionDefinition
impl PartialEq<AuxSectionDefinition> for AuxSectionDefinition
sourcefn eq(&self, other: &AuxSectionDefinition) -> bool
fn eq(&self, other: &AuxSectionDefinition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuxSectionDefinition) -> bool
fn ne(&self, other: &AuxSectionDefinition) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for AuxSectionDefinition where
AuxSectionDefinition: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for AuxSectionDefinition where
AuxSectionDefinition: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a AuxSectionDefinition
impl<'a> TryIntoCtx<Endian, [u8]> for &'a AuxSectionDefinition
sourceimpl TryIntoCtx<Endian, [u8]> for AuxSectionDefinition
impl TryIntoCtx<Endian, [u8]> for AuxSectionDefinition
impl Copy for AuxSectionDefinition
impl StructuralPartialEq for AuxSectionDefinition
Auto Trait Implementations
impl RefUnwindSafe for AuxSectionDefinition
impl Send for AuxSectionDefinition
impl Sync for AuxSectionDefinition
impl Unpin for AuxSectionDefinition
impl UnwindSafe for AuxSectionDefinition
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more