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 for DemangleNodeType
impl PartialEq for DemangleNodeType
source§fn eq(&self, other: &DemangleNodeType) -> bool
fn eq(&self, other: &DemangleNodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DemangleNodeType
impl PartialOrd 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 moreimpl 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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
)