Enum cpp_demangle::ast::UnresolvedName
source · [−]pub enum UnresolvedName {
Name(BaseUnresolvedName),
Global(BaseUnresolvedName),
Nested1(UnresolvedTypeHandle, Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
Nested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
GlobalNested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName),
}
Expand description
The <unresolved-name>
production.
<unresolved-name> ::= [gs] <base-unresolved-name>
::= sr <unresolved-type> <base-unresolved-name>
::= srN <unresolved-type> <unresolved-qualifier-level>+ E <base-unresolved-name>
::= [gs] sr <unresolved-qualifier-level>+ E <base-unresolved-name>
Variants
Name(BaseUnresolvedName)
x
Global(BaseUnresolvedName)
::x
Nested1(UnresolvedTypeHandle, Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
T::x
or decltype(p)::x
or T::N::x
or decltype(p)::N::x
Nested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
A::x
or N::y
or A<T>::z
GlobalNested2(Vec<UnresolvedQualifierLevel>, BaseUnresolvedName)
::A::x
or ::N::y
or ::A<T>::z
Trait Implementations
sourceimpl Clone for UnresolvedName
impl Clone for UnresolvedName
sourcefn clone(&self) -> UnresolvedName
fn clone(&self) -> UnresolvedName
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 UnresolvedName
impl Debug for UnresolvedName
sourceimpl PartialEq<UnresolvedName> for UnresolvedName
impl PartialEq<UnresolvedName> for UnresolvedName
sourcefn eq(&self, other: &UnresolvedName) -> bool
fn eq(&self, other: &UnresolvedName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnresolvedName) -> bool
fn ne(&self, other: &UnresolvedName) -> bool
This method tests for !=
.
impl Eq for UnresolvedName
impl StructuralEq for UnresolvedName
impl StructuralPartialEq for UnresolvedName
Auto Trait Implementations
impl RefUnwindSafe for UnresolvedName
impl Send for UnresolvedName
impl Sync for UnresolvedName
impl Unpin for UnresolvedName
impl UnwindSafe for UnresolvedName
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