Struct object::Section

source ·
pub struct Section<'data, 'file>where
    'data: 'file,
{ /* private fields */ }
Expand description

A Section of a File

Trait Implementations§

Formats the value using the given formatter. Read more
An iterator over the relocations for a section. Read more
Returns the address of the section.
Returns the size of the section in memory.
Returns the raw contents of the section. The length of this data may be different from the size of the section in memory. Read more
Returns the uncompressed contents of the section. The length of this data may be different from the size of the section in memory. Read more
Returns the name of the section.
Returns the name of the segment for this section.
Return the kind of this section.
Get the relocations for this section.

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.