Enum cpp_demangle::ast::TypeHandle[][src]

pub enum TypeHandle {
    WellKnown(WellKnownComponent),
    BackReference(usize),
    Builtin(BuiltinType),
    QualifiedBuiltin(QualifiedBuiltin),
}

A reference to a parsed Type production.

Variants

A reference to a "well-known" component.

A back-reference into the substitution table to a component we have already parsed.

A builtin type. These don't end up in the substitutions table.

A CV-qualified builtin type. These don't end up in the table either.

Methods

impl TypeHandle
[src]

If this is a BackReference, get its index.

Trait Implementations

impl Clone for TypeHandle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TypeHandle
[src]

Formats the value using the given formatter. Read more

impl PartialEq for TypeHandle
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TypeHandle
[src]

Auto Trait Implementations

impl Send for TypeHandle

impl Sync for TypeHandle