Struct gimli::write::Sections[][src]

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>,
    // some fields omitted
}

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

impl<W: Writer + Clone> Sections<W>[src]

pub fn new(section: W) -> Self[src]

Create a new Sections using clones of the given section.

impl<W: Writer> Sections<W>[src]

pub fn for_each<F, E>(&self, f: F) -> Result<(), E> where
    F: FnMut(SectionId, &W) -> Result<(), E>, 
[src]

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

pub fn for_each_mut<F, E>(&mut self, f: F) -> Result<(), E> where
    F: FnMut(SectionId, &mut W) -> Result<(), E>, 
[src]

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

Trait Implementations

impl<W: Debug + Writer> Debug for Sections<W>[src]

impl<W: Default + Writer> Default for Sections<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for Sections<W> where
    W: RefUnwindSafe

impl<W> Send for Sections<W> where
    W: Send

impl<W> Sync for Sections<W> where
    W: Sync

impl<W> Unpin for Sections<W> where
    W: Unpin

impl<W> UnwindSafe for Sections<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.