[][src]Enum cpp_demangle::ast::DestructorName

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

A destructor for an unresolved type.

Name(SimpleId)

A destructor for a resolved type name.

Trait Implementations

impl Clone for DestructorName[src]

impl Debug for DestructorName[src]

impl Eq for DestructorName[src]

impl PartialEq<DestructorName> for DestructorName[src]

impl StructuralEq for DestructorName[src]

impl StructuralPartialEq for DestructorName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.