[][src]Enum haybale::config::Demangling

pub enum Demangling {
    NoDemangling,
    CPP,
    Rust,
}

Enum used for the demangling option in Config.

Variants

NoDemangling

Don't try to demangle

CPP

Try to demangle using the C++ demangler (suitable for Projects containing C++ code). Names that fail to demangle will simply be printed as-is.

Rust

Try to demangle using the Rust demangler (suitable for Projects containing Rust code). Names that fail to demangle will simply be printed as-is.

Implementations

impl Demangling[src]

pub fn maybe_demangle(self, funcname: &str) -> String[src]

Attempts to demangle the given function name, as appropriate based on the Demangling setting.

pub fn autodetect(proj: &Project) -> Self[src]

Guesses an appropriate Demangling for the given Project.

Trait Implementations

impl Clone for Demangling[src]

impl Copy for Demangling[src]

impl Debug for Demangling[src]

impl Eq for Demangling[src]

impl PartialEq<Demangling> for Demangling[src]

impl StructuralEq for Demangling[src]

impl StructuralPartialEq for Demangling[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.