Enum cpp_demangle::ast::Name [−][src]
pub enum Name {
Nested(NestedName),
Unscoped(UnscopedName),
UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs),
Local(LocalName),
}The <name> production.
<name> ::= <nested-name>
::= <unscoped-name>
::= <unscoped-template-name> <template-args>
::= <local-name>
Variants
Nested(NestedName)A nested name
Unscoped(UnscopedName)An unscoped name.
UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs)An unscoped template.
Local(LocalName)A local name.
Trait Implementations
impl Clone for Name[src]
impl Clone for Namefn clone(&self) -> Name[src]
fn clone(&self) -> NameReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Name[src]
impl Debug for Namefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Name[src]
impl PartialEq for Namefn eq(&self, other: &Name) -> bool[src]
fn eq(&self, other: &Name) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Name) -> bool[src]
fn ne(&self, other: &Name) -> boolThis method tests for !=.
impl Eq for Name[src]
impl Eq for Name