Enum cpp_demangle::ast::Name
source · pub enum Name {
Nested(NestedName),
Unscoped(UnscopedName),
UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs),
Local(LocalName),
}
Expand description
The <name>
production.
<name> ::= <nested-name>
::= <unscoped-name>
::= <unscoped-template-name> <template-args>
::= <local-name>
Variants§
Nested(NestedName)
A nested name
Unscoped(UnscopedName)
An unscoped name.
UnscopedTemplate(UnscopedTemplateNameHandle, TemplateArgs)
An unscoped template.
Local(LocalName)
A local name.
Trait Implementations§
source§impl PartialEq<Name> for Name
impl PartialEq<Name> for Name
impl Eq for Name
impl StructuralEq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more