Enum cpp_demangle::ast::Name
[−]
[src]
pub enum Name { Nested(NestedName), Unscoped(UnscopedName), UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs), Local(LocalName), Std(UnqualifiedName), }
The <name>
production.
<name> ::= <nested-name>
::= <unscoped-name>
::= <unscoped-template-name> <template-args>
::= <local-name>
::= St <unqualified-name> # ::std::
Variants
Nested(NestedName)
A nested name
Unscoped(UnscopedName)
An unscoped name.
UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs)
An unscoped template.
Local(LocalName)
A local name.
Std(UnqualifiedName)
A name in ::std::
.
Trait Implementations
impl Clone for Name
[src]
fn clone(&self) -> Name
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 Name
[src]
impl Hash for Name
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for Name
[src]
fn eq(&self, __arg_0: &Name) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Name) -> bool
This method tests for !=
.