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> ObjectSection<'data> for Section<'data, 'file>
[src]
fn address(&self) -> u64
[src]
Returns the address of the section.
fn size(&self) -> u64
[src]
Returns the size of the section in memory.
fn data(&self) -> &'data [u8]
[src]
Returns a reference to the 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]
Returns the name of the section.
fn segment_name(&self) -> Option<&str>
[src]
Returns the name of the segment for this section.
fn kind(&self) -> SectionKind
[src]
Return the kind of this section.