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;
# e.g. ~X or ~X<N-1>
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§
source§impl Clone for BaseUnresolvedName
impl Clone for BaseUnresolvedName
source§fn clone(&self) -> BaseUnresolvedName
fn clone(&self) -> BaseUnresolvedName
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 BaseUnresolvedName
impl Debug for BaseUnresolvedName
source§impl PartialEq for BaseUnresolvedName
impl PartialEq for BaseUnresolvedName
source§fn 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 ==
.impl Eq for BaseUnresolvedName
impl StructuralPartialEq for BaseUnresolvedName
Auto Trait Implementations§
impl Freeze for BaseUnresolvedName
impl RefUnwindSafe for BaseUnresolvedName
impl Send for BaseUnresolvedName
impl Sync for BaseUnresolvedName
impl Unpin for BaseUnresolvedName
impl UnwindSafe for BaseUnresolvedName
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)