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 for DemangleNodeType
impl PartialEq for DemangleNodeType
Source§impl PartialOrd for DemangleNodeType
impl PartialOrd for DemangleNodeType
impl Copy for DemangleNodeType
impl Eq for DemangleNodeType
impl StructuralPartialEq for DemangleNodeType
Auto Trait Implementations§
impl Freeze for DemangleNodeType
impl RefUnwindSafe for DemangleNodeType
impl Send for DemangleNodeType
impl Sync for DemangleNodeType
impl Unpin for DemangleNodeType
impl UnwindSafe for DemangleNodeType
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