Struct elfkit::SectionHeader
[−]
[src]
pub struct SectionHeader { pub name: u32, pub shtype: SectionType, pub flags: SectionFlags, pub addr: u64, pub offset: u64, pub size: u64, pub link: u32, pub info: u32, pub addralign: u64, pub entsize: u64, }
Fields
name: u32
shtype: SectionType
flags: SectionFlags
addr: u64
offset: u64
size: u64
link: u32
info: u32
addralign: u64
entsize: u64
Methods
impl SectionHeader
[src]
fn entsize(eh: &Header) -> usize
[src]
fn from_reader<R>(io: &mut R, eh: &Header) -> Result<SectionHeader, Error> where
R: Read,
[src]
R: Read,
fn to_writer<R>(&self, eh: &Header, io: &mut R) -> Result<(), Error> where
R: Write,
[src]
R: Write,
Trait Implementations
impl Default for SectionHeader
[src]
fn default() -> SectionHeader
[src]
Returns the "default value" for a type. Read more
impl Debug for SectionHeader
[src]
impl Clone for SectionHeader
[src]
fn clone(&self) -> SectionHeader
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more