Enum cpp_demangle::ast::DestructorName [] [src]

pub enum DestructorName {
    Unresolved(UnresolvedTypeHandle),
    Name(SimpleId),
}

The <destructor-name> production.

<destructor-name> ::= <unresolved-type> # e.g., ~T or ~decltype(f())
                  ::= <simple-id>       # e.g., ~A<2*N>

Variants

A destructor for an unresolved type.

A destructor for a resolved type name.

Trait Implementations

impl Clone for DestructorName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DestructorName
[src]

Formats the value using the given formatter.

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