Enum cpp_demangle::DemangleNodeType
source · pub enum DemangleNodeType {
Prefix,
TemplatePrefix,
TemplateArgs,
UnqualifiedName,
TemplateParam,
Decltype,
DataMemberPrefix,
NestedName,
VirtualTable,
__NonExhaustive,
}
Expand description
The type of a demangled AST node. This is only partial, not all nodes are represented.
Variants§
Prefix
Entering a
TemplatePrefix
Entering a
TemplateArgs
Entering a
UnqualifiedName
Entering a
TemplateParam
Entering a
Decltype
Entering a
DataMemberPrefix
Entering a
NestedName
Entering a
VirtualTable
Entering a
__NonExhaustive
Additional values may be added in the future. Use a _ pattern for compatibility.
Trait Implementations§
source§impl Clone for DemangleNodeType
impl Clone for DemangleNodeType
source§fn clone(&self) -> DemangleNodeType
fn clone(&self) -> DemangleNodeType
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 DemangleNodeType
impl Debug for DemangleNodeType
source§impl Hash for DemangleNodeType
impl Hash for DemangleNodeType
source§impl Ord for DemangleNodeType
impl Ord for DemangleNodeType
source§fn cmp(&self, other: &DemangleNodeType) -> Ordering
fn cmp(&self, other: &DemangleNodeType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DemangleNodeType> for DemangleNodeType
impl PartialEq<DemangleNodeType> for DemangleNodeType
source§fn eq(&self, other: &DemangleNodeType) -> bool
fn eq(&self, other: &DemangleNodeType) -> bool
source§impl PartialOrd<DemangleNodeType> for DemangleNodeType
impl PartialOrd<DemangleNodeType> for DemangleNodeType
source§fn partial_cmp(&self, other: &DemangleNodeType) -> Option<Ordering>
fn partial_cmp(&self, other: &DemangleNodeType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more