[−][src]Trait symbolic_demangle::Demangle
Allows to demangle potentially mangled names.
Non-mangled names are largely ignored and language detection will not return a language. Upon formatting, the symbol is automatically demangled (without arguments).
Required methods
fn detect_language(&self) -> Language
Infers the language of a mangled name.
In case the symbol is not mangled or not one of the supported languages
the return value will be None
. If the language of the symbol was
specified explicitly, this is returned instead.
fn demangle(&self, opts: DemangleOptions) -> Option<String>
Demangles the name with the given options.
fn try_demangle(&self, opts: DemangleOptions) -> Cow<str>
Tries to demangle the name and falls back to the original name.