Enum cpp_demangle::ast::OperatorName
[−]
[src]
pub enum OperatorName {
Simple(SimpleOperatorName),
Cast(TypeHandle),
Literal(SourceName),
VendorExtension(u8, SourceName),
}The <operator-name> production.
<operator-name> ::= <simple-operator-name>
::= cv <type> # (cast)
::= li <source-name> # operator ""
::= v <digit> <source-name> # vendor extended operator
Variants
Simple(SimpleOperatorName)A simple operator name.
Cast(TypeHandle)A type cast.
Literal(SourceName)Operator literal, ie operator "".
VendorExtension(u8, SourceName)A non-standard, vendor extension operator.
Trait Implementations
impl Clone for OperatorName[src]
fn clone(&self) -> OperatorName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for OperatorName[src]
impl PartialEq for OperatorName[src]
fn eq(&self, __arg_0: &OperatorName) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OperatorName) -> bool
This method tests for !=.