#[repr(C)]pub struct Shdr32 {
pub sh_name: Elf32Word,
pub sh_type: Elf32Word,
pub sh_flags: Elf32Word,
pub sh_addr: Elf32Addr,
pub sh_offset: Elf32Off,
pub sh_size: Elf32Word,
pub sh_link: Elf32Word,
pub sh_info: Elf32Word,
pub sh_addralign: Elf32Word,
pub sh_entsize: Elf32Word,
}
Fields§
§sh_name: Elf32Word
Section name, index in string tbl
sh_type: Elf32Word
Type of section
sh_flags: Elf32Word
Miscellaneous section attributes
sh_addr: Elf32Addr
Section virtual addr at execution
sh_offset: Elf32Off
Section file offset
sh_size: Elf32Word
Size of section in bytes
sh_link: Elf32Word
Index of another section
sh_info: Elf32Word
Additional section information
sh_addralign: Elf32Word
Section alignment
sh_entsize: Elf32Word
Entry size if section holds table
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shdr32
impl<'de> Deserialize<'de> for Shdr32
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Into<Shdr32> for ShdrPreparation32
impl Into<Shdr32> for ShdrPreparation32
Source§impl Ord for Shdr32
impl Ord for Shdr32
Source§impl PartialOrd for Shdr32
impl PartialOrd for Shdr32
impl Copy for Shdr32
impl Eq for Shdr32
impl StructuralPartialEq for Shdr32
Auto Trait Implementations§
impl Freeze for Shdr32
impl RefUnwindSafe for Shdr32
impl Send for Shdr32
impl Sync for Shdr32
impl Unpin for Shdr32
impl UnwindSafe for Shdr32
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