Enum cpp_demangle::ast::Encoding [] [src]

pub enum Encoding {
    Function(NameBareFunctionType),
    Data(Name),
    Special(SpecialName),
}

The <encoding> production.

<encoding> ::= <function name> <bare-function-type>
           ::= <data name>
           ::= <special-name>

Variants

An encoded function.

An encoded static variable.

A special encoding.

Trait Implementations

impl Clone for Encoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Encoding
[src]

Formats the value using the given formatter.

impl Hash for Encoding
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for Encoding
[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 Encoding
[src]