Struct elfkit::section::Section
[−]
[src]
pub struct Section { pub header: SectionHeader, pub name: String, pub content: SectionContent, }
Fields
header: SectionHeader
name: String
content: SectionContent
Methods
impl Section
[src]
fn size(&self, eh: &Header) -> usize
[src]
fn new(
name: String,
shtype: SectionType,
flags: SectionFlags,
content: SectionContent,
link: u32,
info: u32
) -> Section
[src]
name: String,
shtype: SectionType,
flags: SectionFlags,
content: SectionContent,
link: u32,
info: u32
) -> Section
fn sync(
&mut self,
eh: &Header,
linked: Option<&mut SectionContent>
) -> Result<(), Error>
[src]
&mut self,
eh: &Header,
linked: Option<&mut SectionContent>
) -> Result<(), Error>