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
sourceimpl Clone for UnscopedName
impl Clone for UnscopedName
sourcefn clone(&self) -> UnscopedName
fn clone(&self) -> UnscopedName
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 UnscopedName
impl Debug for UnscopedName
sourceimpl PartialEq<UnscopedName> for UnscopedName
impl PartialEq<UnscopedName> for UnscopedName
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &UnscopedName) -> bool
fn ne(&self, other: &UnscopedName) -> bool
This method tests for !=
.
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
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