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 DestructorNamefn clone(&self) -> DestructorName[src]
fn clone(&self) -> DestructorNameReturns 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 DestructorNamefn 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 DestructorName[src]
impl PartialEq for DestructorNamefn eq(&self, other: &DestructorName) -> bool[src]
fn eq(&self, other: &DestructorName) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for DestructorName[src]
impl Eq for DestructorNameAuto Trait Implementations
impl Send for DestructorName
impl Send for DestructorNameimpl Sync for DestructorName
impl Sync for DestructorName