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 MangledNamefn clone(&self) -> MangledName[src]
fn clone(&self) -> MangledNameReturns 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 MangledNamefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for MangledName[src]
impl PartialEq for MangledNamefn eq(&self, other: &MangledName) -> bool[src]
fn eq(&self, other: &MangledName) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for MangledName[src]
impl Eq for MangledNameAuto Trait Implementations
impl Send for MangledName
impl Send for MangledNameimpl Sync for MangledName
impl Sync for MangledName