Enum cpp_demangle::ast::OperatorName [] [src]

pub enum OperatorName {
    Simple(SimpleOperatorName),
    Cast(TypeHandle),
    Literal(SourceName),
    VendorExtension(u8SourceName),
}

The <operator-name> production.

<operator-name> ::= <simple-operator-name>
                ::= cv <type>               # (cast)
                ::= li <source-name>        # operator ""
                ::= v <digit> <source-name> # vendor extended operator

Variants

A simple operator name.

A type cast.

Operator literal, ie operator "".

A non-standard, vendor extension operator.

Trait Implementations

impl Clone for OperatorName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OperatorName
[src]

Formats the value using the given formatter.

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