Struct gimli::AttributeSpecification [] [src]

pub struct AttributeSpecification {
    // some fields omitted
}

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

Methods

impl AttributeSpecification
[src]

fn new(name: AttributeName, form: AttributeForm) -> AttributeSpecification

Construct a new AttributeSpecification from the given name and form.

fn name(&self) -> AttributeName

Get the attribute's name.

fn form(&self) -> AttributeForm

Get the attribute's form.

Trait Implementations

impl Eq for AttributeSpecification
[src]

impl PartialEq for AttributeSpecification
[src]

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

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

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

This method tests for !=.

impl Copy for AttributeSpecification
[src]

impl Clone for AttributeSpecification
[src]

fn clone(&self) -> AttributeSpecification

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 AttributeSpecification
[src]

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

Formats the value using the given formatter.