Trait gimli::write::Section

source ·
pub trait Section<W: Writer>: DerefMut<Target = W> {
    // Required method
    fn id(&self) -> SectionId;

    // Provided method
    fn name(&self) -> &'static str { ... }
}
Expand description

Functionality common to all writable DWARF sections.

Required Methods§

source

fn id(&self) -> SectionId

Returns the DWARF section kind for this type.

Provided Methods§

source

fn name(&self) -> &'static str

Returns the ELF section name for this type.

Implementors§

source§

impl<W: Writer> Section<W> for DebugAbbrev<W>

source§

impl<W: Writer> Section<W> for DebugFrame<W>

source§

impl<W: Writer> Section<W> for DebugInfo<W>

source§

impl<W: Writer> Section<W> for DebugLine<W>

source§

impl<W: Writer> Section<W> for DebugLineStr<W>

source§

impl<W: Writer> Section<W> for DebugLoc<W>

source§

impl<W: Writer> Section<W> for DebugLocLists<W>

source§

impl<W: Writer> Section<W> for DebugRanges<W>

source§

impl<W: Writer> Section<W> for DebugRngLists<W>

source§

impl<W: Writer> Section<W> for DebugStr<W>

source§

impl<W: Writer> Section<W> for EhFrame<W>