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

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

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.

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.

impl Hash for TypeHandle
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

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]