Struct gimli::write::DebuggingInformationEntry[][src]

pub struct DebuggingInformationEntry { /* fields omitted */ }
Expand description

A Debugging Information Entry (DIE).

DIEs have a set of attributes and optionally have children DIEs as well.

DIEs form a tree without any cycles. This is enforced by specifying the parent when creating a DIE, and disallowing changes of parent.

Implementations

Return the id of this entry.

Return the parent of this entry.

Return the tag of this entry.

Return true if a DW_AT_sibling attribute will be emitted.

Set whether a DW_AT_sibling attribute will be emitted.

The attribute will only be emitted if the DIE has children.

Iterate over the attributes of this entry.

Iterate over the attributes of this entry for modification.

Get an attribute.

Get an attribute for modification.

Set an attribute.

Replaces any existing attribute with the same name.

Panics

Panics if name is DW_AT_sibling. Use set_sibling instead.

Delete an attribute.

Replaces any existing attribute with the same name.

Iterate over the children of this entry.

Note: use Unit::add to add a new child to this entry.

Delete a child entry and all of its children.

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.