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]
impl Clone for DestructorName
fn clone(&self) -> DestructorName
[src]
fn clone(&self) -> DestructorName
Returns 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 DestructorName
[src]
impl Debug for DestructorName
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DestructorName
[src]
impl PartialEq for DestructorName
fn eq(&self, other: &DestructorName) -> bool
[src]
fn eq(&self, other: &DestructorName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DestructorName) -> bool
[src]
fn ne(&self, other: &DestructorName) -> bool
This method tests for !=
.
impl Eq for DestructorName
[src]
impl Eq for DestructorName
Auto Trait Implementations
impl Send for DestructorName
impl Send for DestructorName
impl Sync for DestructorName
impl Sync for DestructorName