Struct object::MachOSection [−][src]
pub struct MachOSection<'data> { /* fields omitted */ }
A section of a MachOFile
.
Trait Implementations
impl<'data> Debug for MachOSection<'data>
[src]
impl<'data> Debug for MachOSection<'data>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'data> ObjectSection<'data> for MachOSection<'data>
[src]
impl<'data> ObjectSection<'data> for MachOSection<'data>
fn address(&self) -> u64
[src]
fn address(&self) -> u64
Returns the address of the section.
fn size(&self) -> u64
[src]
fn size(&self) -> u64
Returns 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) -> SectionKind
Return the kind of this section.
Auto Trait Implementations
impl<'data> Send for MachOSection<'data>
impl<'data> Send for MachOSection<'data>
impl<'data> Sync for MachOSection<'data>
impl<'data> Sync for MachOSection<'data>