Struct object::write::Section[][src]

pub struct Section {
    pub flags: SectionFlags,
    // some fields omitted
}
Expand description

A section in an object file.

Fields

flags: SectionFlags

Section flags that are specific to each file format.

Implementations

Try to convert the name to a utf8 string.

Try to convert the segment to a utf8 string.

Return true if this section contains zerofill data.

Set the data for a section.

Must not be called for sections that already have data, or that contain uninitialized data.

Append data to a section.

Must not be called for sections that contain uninitialized data.

Append unitialized data to a section.

Must not be called for sections that contain initialized data.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.