Struct object::write::coff::SectionHeader
source · pub struct SectionHeader {
pub name: Name,
pub size_of_raw_data: u32,
pub pointer_to_raw_data: u32,
pub pointer_to_relocations: u32,
pub pointer_to_linenumbers: u32,
pub number_of_relocations: u32,
pub number_of_linenumbers: u16,
pub characteristics: u32,
}
Expand description
Native endian version of pe::ImageSectionHeader
.
Fields§
§name: Name
§size_of_raw_data: u32
§pointer_to_raw_data: u32
§pointer_to_relocations: u32
§pointer_to_linenumbers: u32
§number_of_relocations: u32
This will automatically be clamped if there are more than 0xffff.
number_of_linenumbers: u16
§characteristics: u32
Trait Implementations§
source§impl Clone for SectionHeader
impl Clone for SectionHeader
source§fn clone(&self) -> SectionHeader
fn clone(&self) -> SectionHeader
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 SectionHeader
impl Debug for SectionHeader
source§impl Default for SectionHeader
impl Default for SectionHeader
source§fn default() -> SectionHeader
fn default() -> SectionHeader
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SectionHeader
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnwindSafe for SectionHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)