Struct object::elf::SectionHeader32  
source · [−]#[repr(C)]pub struct SectionHeader32<E: Endian> {
    pub sh_name: U32<E>,
    pub sh_type: U32<E>,
    pub sh_flags: U32<E>,
    pub sh_addr: U32<E>,
    pub sh_offset: U32<E>,
    pub sh_size: U32<E>,
    pub sh_link: U32<E>,
    pub sh_info: U32<E>,
    pub sh_addralign: U32<E>,
    pub sh_entsize: U32<E>,
}Expand description
Section header.
Fields
sh_name: U32<E>Section name.
This is an offset into the section header string table.
sh_type: U32<E>Section type. One of the SHT_* constants.
sh_flags: U32<E>Section flags. A combination of the SHF_* constants.
sh_addr: U32<E>Section virtual address at execution.
sh_offset: U32<E>Section file offset.
sh_size: U32<E>Section size in bytes.
sh_link: U32<E>Link to another section.
The section relationship depends on the sh_type value.
sh_info: U32<E>Additional section information.
The meaning of this field depends on the sh_type value.
sh_addralign: U32<E>Section alignment.
sh_entsize: U32<E>Entry size if the section holds a table.
Trait Implementations
sourceimpl<E: Clone + Endian> Clone for SectionHeader32<E>
 
impl<E: Clone + Endian> Clone for SectionHeader32<E>
sourcefn clone(&self) -> SectionHeader32<E>
 
fn clone(&self) -> SectionHeader32<E>
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<E: Debug + Endian> Debug for SectionHeader32<E>
 
impl<E: Debug + Endian> Debug for SectionHeader32<E>
impl<E: Copy + Endian> Copy for SectionHeader32<E>
impl<E: Endian> Pod for SectionHeader32<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for SectionHeader32<E> where
    E: RefUnwindSafe, 
impl<E> Send for SectionHeader32<E> where
    E: Send, 
impl<E> Sync for SectionHeader32<E> where
    E: Sync, 
impl<E> Unpin for SectionHeader32<E> where
    E: Unpin, 
impl<E> UnwindSafe for SectionHeader32<E> where
    E: UnwindSafe, 
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