Enum cpp_demangle::ast::PrefixHandle [] [src]

pub enum PrefixHandle {
    WellKnown(WellKnownComponent),
    BackReference(usize),
    NonSubstitution(NonSubstitution),
}

A reference to a parsed <prefix> production.

Variants

A reference to a "well-known" component.

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

A handle to some <prefix> component that isn't by itself substitutable; instead, it's only substitutable with its parent component.

Methods

impl PrefixHandle
[src]

[src]

If this is a BackReference, get its index.

Trait Implementations

impl Clone for PrefixHandle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PrefixHandle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for PrefixHandle
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for PrefixHandle
[src]