[][src]Struct addr2line::FunctionName

pub struct FunctionName<R: Reader> {
    pub name: R,
    pub language: Option<DwLang>,
}

A function name.

Fields

name: R

The name of the function.

language: Option<DwLang>

The language of the compilation unit containing this function.

Implementations

impl<R: Reader> FunctionName<R>[src]

pub fn raw_name(&self) -> Result<Cow<'_, str>, Error>[src]

The raw name of this function before demangling.

pub fn demangle(&self) -> Result<Cow<'_, str>, Error>[src]

The name of this function after demangling (if applicable).

Auto Trait Implementations

impl<R> RefUnwindSafe for FunctionName<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for FunctionName<R> where
    R: Send
[src]

impl<R> Sync for FunctionName<R> where
    R: Sync
[src]

impl<R> Unpin for FunctionName<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for FunctionName<R> where
    R: UnwindSafe
[src]

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, 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.