Enum cpp_demangle::ast::MangledName [−][src]
The root AST node, and starting production.
<mangled-name> ::= _Z <encoding> [<clone-suffix>]*
::= ___Z <encoding> <block_invoke>
::= <type>
<block_invoke> ::= _block_invoke
::= _block_invoke<decimal-digit>+
::= _block_invoke_<decimal-digit>+
Variants
Encoding(Encoding, Vec<CloneSuffix>)
The encoding of the mangled symbol name.
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]
fn clone(&self) -> MangledName
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MangledName
[src]
impl Eq for MangledName
[src]
impl PartialEq<MangledName> for MangledName
[src]
fn eq(&self, other: &MangledName) -> bool
[src]
fn ne(&self, other: &MangledName) -> bool
[src]
impl StructuralEq for MangledName
[src]
impl StructuralPartialEq for MangledName
[src]
Auto Trait Implementations
impl RefUnwindSafe for MangledName
impl Send for MangledName
impl Sync for MangledName
impl Unpin for MangledName
impl UnwindSafe for MangledName
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,