Enum cpp_demangle::ast::UnscopedTemplateNameHandle [−][src]
pub enum UnscopedTemplateNameHandle { WellKnown(WellKnownComponent), BackReference(usize), NonSubstitution(NonSubstitution), }
A handle to an UnscopedTemplateName
.
Variants
WellKnown(WellKnownComponent)
A reference to a “well-known” component.
BackReference(usize)
A back-reference into the substitution table to a component we have already parsed.
NonSubstitution(NonSubstitution)
A handle to some <unscoped-name>
component that isn’t by itself
substitutable.
Implementations
impl UnscopedTemplateNameHandle
[src]
impl UnscopedTemplateNameHandle
[src]pub fn back_reference(&self) -> Option<usize>
[src]
If this is a BackReference
, get its index.
Trait Implementations
impl Clone for UnscopedTemplateNameHandle
[src]
impl Clone for UnscopedTemplateNameHandle
[src]fn clone(&self) -> UnscopedTemplateNameHandle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<UnscopedTemplateNameHandle> for UnscopedTemplateNameHandle
[src]
impl PartialEq<UnscopedTemplateNameHandle> for UnscopedTemplateNameHandle
[src]