Struct gimli::AttributeSpecification[][src]

pub struct AttributeSpecification { /* fields omitted */ }

The description of an attribute in an abbreviated type. It is a pair of name and form.

Methods

impl AttributeSpecification
[src]

Construct a new AttributeSpecification from the given name and form and implicit const value.

Get the attribute's name.

Get the attribute's form.

Get the attribute's implicit const value.

Return the size of the attribute, in bytes.

Note that because some attributes are variably sized, the size cannot always be known without parsing, in which case we return None.

Trait Implementations

impl Debug for AttributeSpecification
[src]

Formats the value using the given formatter. Read more

impl Clone for AttributeSpecification
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AttributeSpecification
[src]

impl PartialEq for AttributeSpecification
[src]

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

This method tests for !=.

impl Eq for AttributeSpecification
[src]

Auto Trait Implementations