Enum cpp_demangle::ast::UnqualifiedName
source · pub enum UnqualifiedName {
Operator(OperatorName),
CtorDtor(CtorDtorName),
Source(SourceName),
LocalSourceName(SourceName, Option<Discriminator>),
UnnamedType(UnnamedTypeName),
ABITag(TaggedName),
ClosureType(ClosureTypeName),
}
Expand description
The <unqualified-name>
production.
<unqualified-name> ::= <operator-name>
::= <ctor-dtor-name>
::= <source-name>
::= <local-source-name>
::= <unnamed-type-name>
::= <abi-tag>
::= <closure-type-name>
# I think this is from an older version of the standard. It isn't in the
# current version, but all the other demanglers support it, so we will too.
<local-source-name> ::= L <source-name> [<discriminator>]
Variants§
Operator(OperatorName)
An operator name.
CtorDtor(CtorDtorName)
A constructor or destructor name.
Source(SourceName)
A source name.
LocalSourceName(SourceName, Option<Discriminator>)
A local source name.
UnnamedType(UnnamedTypeName)
A generated name for an unnamed type.
ABITag(TaggedName)
An ABI tag.
ClosureType(ClosureTypeName)
A closure type name
Trait Implementations§
source§impl Clone for UnqualifiedName
impl Clone for UnqualifiedName
source§fn clone(&self) -> UnqualifiedName
fn clone(&self) -> UnqualifiedName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnqualifiedName
impl Debug for UnqualifiedName
source§impl PartialEq<UnqualifiedName> for UnqualifiedName
impl PartialEq<UnqualifiedName> for UnqualifiedName
source§fn eq(&self, other: &UnqualifiedName) -> bool
fn eq(&self, other: &UnqualifiedName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnqualifiedName
impl StructuralEq for UnqualifiedName
impl StructuralPartialEq for UnqualifiedName
Auto Trait Implementations§
impl RefUnwindSafe for UnqualifiedName
impl Send for UnqualifiedName
impl Sync for UnqualifiedName
impl Unpin for UnqualifiedName
impl UnwindSafe for UnqualifiedName
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