Enum cpp_demangle::ast::BaseUnresolvedName
[−]
[src]
pub enum BaseUnresolvedName { Name(SimpleId), Operator(OperatorName, Option<TemplateArgs>), Destructor(DestructorName), }
The <base-unresolved-name>
production.
<base-unresolved-name> ::= <simple-id> # unresolved name
::= on <operator-name> # unresolved operator-function-id
::= on <operator-name> <template-args> # unresolved operator template-id
::= dn <destructor-name> # destructor or pseudo-destructor;
# e.g. ~X or ~X<N-1>
Variants
Name(SimpleId)
An unresolved name.
Operator(OperatorName, Option<TemplateArgs>)
An unresolved function or template function name.
Destructor(DestructorName)
An unresolved destructor name.
Trait Implementations
impl Clone for BaseUnresolvedName
[src]
fn clone(&self) -> BaseUnresolvedName
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 BaseUnresolvedName
[src]
impl Hash for BaseUnresolvedName
[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 BaseUnresolvedName
[src]
fn eq(&self, __arg_0: &BaseUnresolvedName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BaseUnresolvedName) -> bool
This method tests for !=
.