[][src]Enum cpp_demangle::ast::UnqualifiedName

pub enum UnqualifiedName {
    Operator(OperatorName),
    CtorDtor(CtorDtorName),
    Source(SourceName),
    LocalSourceName(SourceNameOption<Discriminator>),
    UnnamedType(UnnamedTypeName),
    ABITag(TaggedName),
    ClosureType(ClosureTypeName),
}

The <unqualified-name> production.

<unqualified-name> ::= <operator-name>
                   ::= <ctor-dtor-name>
                   ::= <source-name>
                   ::= <local-source-name>
                   ::= <unnamed-type-name>
                   ::= <abi-tag>
                   ::= <closure-type-name>

# I think this is from an older version of the standard. It isn't in the
# current version, but all the other demanglers support it, so we will too.
<local-source-name> ::= L <source-name> [<discriminator>]

Variants

Operator(OperatorName)

An operator name.

CtorDtor(CtorDtorName)

A constructor or destructor name.

Source(SourceName)

A source name.

LocalSourceName(SourceNameOption<Discriminator>)

A local source name.

UnnamedType(UnnamedTypeName)

A generated name for an unnamed type.

ABITag(TaggedName)

An ABI tag.

ClosureType(ClosureTypeName)

A closure type name

Trait Implementations

impl Clone for UnqualifiedName[src]

impl Debug for UnqualifiedName[src]

impl Eq for UnqualifiedName[src]

impl PartialEq<UnqualifiedName> for UnqualifiedName[src]

impl StructuralEq for UnqualifiedName[src]

impl StructuralPartialEq for UnqualifiedName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.