Enum cpp_demangle::ast::UnscopedName
source · pub enum UnscopedName {
Unqualified(UnqualifiedName),
Std(UnqualifiedName),
}
Expand description
The <unscoped-name>
production.
<unscoped-name> ::= <unqualified-name>
::= St <unqualified-name> # ::std::
Variants§
Unqualified(UnqualifiedName)
An unqualified name.
Std(UnqualifiedName)
A name within the std::
namespace.
Trait Implementations§
source§impl Clone for UnscopedName
impl Clone for UnscopedName
source§fn clone(&self) -> UnscopedName
fn clone(&self) -> UnscopedName
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 UnscopedName
impl Debug for UnscopedName
source§impl PartialEq<UnscopedName> for UnscopedName
impl PartialEq<UnscopedName> for UnscopedName
source§fn eq(&self, other: &UnscopedName) -> bool
fn eq(&self, other: &UnscopedName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnscopedName
impl StructuralEq for UnscopedName
impl StructuralPartialEq for UnscopedName
Auto Trait Implementations§
impl RefUnwindSafe for UnscopedName
impl Send for UnscopedName
impl Sync for UnscopedName
impl Unpin for UnscopedName
impl UnwindSafe for UnscopedName
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