Struct object::Section [−][src]
pub struct Section<'data, 'file> where
'data: 'file, { /* fields omitted */ }A Section of a File
Trait Implementations
impl<'data, 'file> Debug for Section<'data, 'file>[src]
impl<'data, 'file> Debug for Section<'data, 'file>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'data, 'file> ObjectSection<'data> for Section<'data, 'file>[src]
impl<'data, 'file> ObjectSection<'data> for Section<'data, 'file>fn address(&self) -> u64[src]
fn address(&self) -> u64Returns the address of the section.
fn size(&self) -> u64[src]
fn size(&self) -> u64Returns the size of the section in memory.
fn data(&self) -> Cow<'data, [u8]>[src]
fn data(&self) -> Cow<'data, [u8]>Returns a reference to the raw contents of the section. The length of this data may be different from the size of the section in memory. Read more
fn name(&self) -> Option<&str>[src]
fn name(&self) -> Option<&str>Returns the name of the section.
fn segment_name(&self) -> Option<&str>[src]
fn segment_name(&self) -> Option<&str>Returns the name of the segment for this section.
fn kind(&self) -> SectionKind[src]
fn kind(&self) -> SectionKindReturn the kind of this section.