Struct gimli::Abbreviation [] [src]

pub struct Abbreviation {
    // some fields omitted
}

An abbreviation describes the shape of a DebuggingInformationEntry's type: its code, tag type, whether it has children, and its set of attributes.

Methods

impl Abbreviation
[src]

fn new(code: u64, tag: DwTag, has_children: DwChildren, attributes: Vec<AttributeSpecification>) -> Abbreviation

Construct a new Abbreviation.

Panics

Panics if code is 0.

fn code(&self) -> u64

Get this abbreviation's code.

fn tag(&self) -> DwTag

Get this abbreviation's tag.

fn has_children(&self) -> bool

Return true if this abbreviation's type has children, false otherwise.

fn attributes(&self) -> &[AttributeSpecification]

Get this abbreviation's attributes.

Trait Implementations

impl Eq for Abbreviation
[src]

impl PartialEq for Abbreviation
[src]

fn eq(&self, __arg_0: &Abbreviation) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Abbreviation) -> bool

This method tests for !=.

impl Clone for Abbreviation
[src]

fn clone(&self) -> Abbreviation

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Abbreviation
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.