pub struct Sections<W: Writer> {
    pub debug_abbrev: DebugAbbrev<W>,
    pub debug_info: DebugInfo<W>,
    pub debug_line: DebugLine<W>,
    pub debug_line_str: DebugLineStr<W>,
    pub debug_ranges: DebugRanges<W>,
    pub debug_rnglists: DebugRngLists<W>,
    pub debug_loc: DebugLoc<W>,
    pub debug_loclists: DebugLocLists<W>,
    pub debug_str: DebugStr<W>,
    pub debug_frame: DebugFrame<W>,
    pub eh_frame: EhFrame<W>,
    /* private fields */
}
Expand description

All of the writable DWARF sections.

Fields

debug_abbrev: DebugAbbrev<W>

The .debug_abbrev section.

debug_info: DebugInfo<W>

The .debug_info section.

debug_line: DebugLine<W>

The .debug_line section.

debug_line_str: DebugLineStr<W>

The .debug_line_str section.

debug_ranges: DebugRanges<W>

The .debug_ranges section.

debug_rnglists: DebugRngLists<W>

The .debug_rnglists section.

debug_loc: DebugLoc<W>

The .debug_loc section.

debug_loclists: DebugLocLists<W>

The .debug_loclists section.

debug_str: DebugStr<W>

The .debug_str section.

debug_frame: DebugFrame<W>

The .debug_frame section.

eh_frame: EhFrame<W>

The .eh_frame section.

Implementations

Create a new Sections using clones of the given section.

For each section, call f once with a shared reference.

For each section, call f once with a mutable reference.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.