Enum cpp_demangle::ast::LocalName [] [src]

pub enum LocalName {
    Relative(Box<Encoding>, Option<Box<Name>>, Option<Discriminator>),
    Default(Box<Encoding>, Option<usize>, Box<Name>),
}

The <local-name> production.

<local-name> := Z <function encoding> E <entity name> [<discriminator>]
             := Z <function encoding> E s [<discriminator>]
             := Z <function encoding> Ed [ <parameter number> ] _ <entity name>

Variants

The mangling of the enclosing function, the mangling of the entity relative to the function, and an optional discriminator.

A default argument in a class definition.

Trait Implementations

impl Clone for LocalName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LocalName
[src]

Formats the value using the given formatter.

impl Hash for LocalName
[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 LocalName
[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 LocalName
[src]