Enum cpp_demangle::ast::UnscopedTemplateNameHandle
[−]
[src]
pub enum UnscopedTemplateNameHandle { WellKnown(WellKnownComponent), BackReference(usize), }
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.
Methods
impl UnscopedTemplateNameHandle
[src]
fn back_reference(&self) -> Option<usize>
If this is a BackReference
, get its index.
Trait Implementations
impl Clone for UnscopedTemplateNameHandle
[src]
fn clone(&self) -> UnscopedTemplateNameHandle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for UnscopedTemplateNameHandle
[src]
impl Hash for UnscopedTemplateNameHandle
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for UnscopedTemplateNameHandle
[src]
fn eq(&self, __arg_0: &UnscopedTemplateNameHandle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnscopedTemplateNameHandle) -> bool
This method tests for !=
.