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>
<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
sourceimpl Clone for UnqualifiedName
impl Clone for UnqualifiedName
sourcefn clone(&self) -> UnqualifiedName
fn clone(&self) -> UnqualifiedName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnqualifiedName
impl Debug for UnqualifiedName
sourceimpl PartialEq<UnqualifiedName> for UnqualifiedName
impl PartialEq<UnqualifiedName> for UnqualifiedName
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &UnqualifiedName) -> bool
fn ne(&self, other: &UnqualifiedName) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more