Enum cpp_demangle::ast::DestructorName
[−]
[src]
pub enum DestructorName { Unresolved(UnresolvedTypeHandle), Name(SimpleId), }
The <destructor-name>
production.
<destructor-name> ::= <unresolved-type> # e.g., ~T or ~decltype(f())
::= <simple-id> # e.g., ~A<2*N>
Variants
Unresolved(UnresolvedTypeHandle)
A destructor for an unresolved type.
Name(SimpleId)
A destructor for a resolved type name.
Trait Implementations
impl Clone for DestructorName
[src]
fn clone(&self) -> DestructorName
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 DestructorName
[src]
impl PartialEq for DestructorName
[src]
fn eq(&self, __arg_0: &DestructorName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DestructorName) -> bool
This method tests for !=
.