Enum cpp_demangle::ast::MangledName [−][src]
pub enum MangledName { Encoding(Encoding), Type(TypeHandle), GlobalCtorDtor(GlobalCtorDtor), }
The root AST node, and starting production.
<mangled-name> ::= _Z <encoding>
Variants
Encoding(Encoding)
The encoding of the mangled symbol name.
Type(TypeHandle)
A top-level type. Technically not allowed by the standard, however in practice this can happen, and is tested for by libiberty.
GlobalCtorDtor(GlobalCtorDtor)
A global constructor or destructor. This is another de facto standard
extension (I think originally from g++
?) that is not actually part of
the standard proper.
Trait Implementations
impl Clone for MangledName
[src]
impl Clone for MangledName
fn clone(&self) -> MangledName
[src]
fn clone(&self) -> MangledName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MangledName
[src]
impl Debug for MangledName
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MangledName
[src]
impl PartialEq for MangledName
fn eq(&self, other: &MangledName) -> bool
[src]
fn eq(&self, other: &MangledName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MangledName) -> bool
[src]
fn ne(&self, other: &MangledName) -> bool
This method tests for !=
.
impl Eq for MangledName
[src]
impl Eq for MangledName
Auto Trait Implementations
impl Send for MangledName
impl Send for MangledName
impl Sync for MangledName
impl Sync for MangledName