Enum cpp_demangle::ast::DestructorName
source · pub enum DestructorName {
Unresolved(UnresolvedTypeHandle),
Name(SimpleId),
}
Expand description
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§
source§impl Clone for DestructorName
impl Clone for DestructorName
source§fn clone(&self) -> DestructorName
fn clone(&self) -> DestructorName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more