Struct addr2line::Frame

source ·
pub struct Frame<'ctx, R: Reader> {
    pub dw_die_offset: Option<UnitOffset<R::Offset>>,
    pub function: Option<FunctionName<R>>,
    pub location: Option<Location<'ctx>>,
}
Expand description

A function frame.

Fields

dw_die_offset: Option<UnitOffset<R::Offset>>

The DWARF unit offset corresponding to the DIE of the function.

function: Option<FunctionName<R>>

The name of the function.

location: Option<Location<'ctx>>

The source location corresponding to this frame.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.