Struct object::read::macho::MachOSection

source ·
pub struct MachOSection<'data, 'file, Mach, R = &'data [u8]>where
    Mach: MachHeader,
    R: ReadRef<'data>,
    'data: 'file,
{ /* private fields */ }
Expand description

A section of a MachOFile.

Trait Implementations§

Formats the value using the given formatter. Read more
An iterator over the relocations for a section. Read more
Returns the section index.
Returns the address of the section.
Returns the size of the section in memory.
Returns the alignment of the section in memory.
Returns offset and size of on-disk segment (if any).
Returns the raw contents of the section. Read more
Return the raw contents of the section data in the given range. Read more
Returns the potentially compressed file range of the section, along with information about the compression.
Returns the potentially compressed contents of the section, along with information about the compression.
Returns the name of the section.
Returns the name of the section. Read more
Returns the name of the segment for this section.
Returns the name of the segment for this section. Read more
Return the kind of this section.
Get the relocations for this section.
Section flags that are specific to each file format.
Returns the uncompressed contents of the section. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.