#[repr(C)]pub struct SectionHeader {
pub name: [u8; 8],
pub virtual_size: u32,
pub virtual_address: u32,
pub raw_data_size: u32,
pub raw_data_address: u32,
pub ptr_to_relocations: u32,
pub ptr_to_linenumbers: u32,
pub num_of_relocations: u16,
pub num_of_linenumbers: u16,
pub characteristics: u32,
}Expand description
Native structure define by MSDN
Fields§
§name: [u8; 8]§virtual_size: u32§virtual_address: u32§raw_data_size: u32§raw_data_address: u32§ptr_to_relocations: u32§ptr_to_linenumbers: u32§num_of_relocations: u16§num_of_linenumbers: u16§characteristics: u32Implementations§
Source§impl SectionHeader
impl SectionHeader
pub fn validate(&self, optional_header: &OptionalHeader) -> Result<&Self>
Trait Implementations§
Source§impl Clone for SectionHeader
impl Clone for SectionHeader
Source§fn clone(&self) -> SectionHeader
fn clone(&self) -> SectionHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SectionHeader
Auto Trait Implementations§
impl Freeze for SectionHeader
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnsafeUnpin 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