Crate rustc_demangle [−] [src]
Demangle Rust compiler symbol names.
This crate provides a demangle
function which will return a Demangle
sentinel value that can be used to learn about the demangled version of a
symbol name. The demangled representation will be the same as the original
if it doesn't look like a mangled symbol name.
Examples
use rustc_demangle::demangle; assert_eq!(demangle("_ZN4testE").to_string(), "test"); assert_eq!(demangle("_ZN3foo3barE").to_string(), "foo::bar"); assert_eq!(demangle("foo").to_string(), "foo");
Structs
Demangle |
Representation of a demangled symbol name. |
Functions
demangle |
De-mangles a Rust symbol into a more readable version |