Enum cpp_demangle::ast::BaseUnresolvedName
source · [−]pub enum BaseUnresolvedName {
Name(SimpleId),
Operator(OperatorName, Option<TemplateArgs>),
Destructor(DestructorName),
}
Expand description
The <base-unresolved-name>
production.
<base-unresolved-name> ::= <simple-id> # unresolved name
::= on <operator-name> # unresolved operator-function-id
::= on <operator-name> <template-args> # unresolved operator template-id
::= dn <destructor-name> # destructor or pseudo-destructor;
Variants
Name(SimpleId)
An unresolved name.
Operator(OperatorName, Option<TemplateArgs>)
An unresolved function or template function name.
Destructor(DestructorName)
An unresolved destructor name.
Trait Implementations
sourceimpl Clone for BaseUnresolvedName
impl Clone for BaseUnresolvedName
sourcefn clone(&self) -> BaseUnresolvedName
fn clone(&self) -> BaseUnresolvedName
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 BaseUnresolvedName
impl Debug for BaseUnresolvedName
sourceimpl PartialEq<BaseUnresolvedName> for BaseUnresolvedName
impl PartialEq<BaseUnresolvedName> for BaseUnresolvedName
sourcefn eq(&self, other: &BaseUnresolvedName) -> bool
fn eq(&self, other: &BaseUnresolvedName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BaseUnresolvedName) -> bool
fn ne(&self, other: &BaseUnresolvedName) -> bool
This method tests for !=
.
impl Eq for BaseUnresolvedName
impl StructuralEq for BaseUnresolvedName
impl StructuralPartialEq for BaseUnresolvedName
Auto Trait Implementations
impl RefUnwindSafe for BaseUnresolvedName
impl Send for BaseUnresolvedName
impl Sync for BaseUnresolvedName
impl Unpin for BaseUnresolvedName
impl UnwindSafe for BaseUnresolvedName
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