Struct backtrace::BacktraceSymbol
[−]
[src]
pub struct BacktraceSymbol { /* fields omitted */ }
Captured version of a symbol in a backtrace.
This type is returned as a list from BacktraceFrame::symbols
and
represents the metadata for a symbol in a backtrace.
Methods
impl BacktraceSymbol
[src]
impl BacktraceSymbol
pub fn name(&self) -> Option<SymbolName>
[src]
pub fn name(&self) -> Option<SymbolName>
Same as Symbol::name
pub fn addr(&self) -> Option<*mut c_void>
[src]
pub fn addr(&self) -> Option<*mut c_void>
Same as Symbol::addr
pub fn filename(&self) -> Option<&Path>
[src]
pub fn filename(&self) -> Option<&Path>
Same as Symbol::filename
pub fn lineno(&self) -> Option<u32>
[src]
pub fn lineno(&self) -> Option<u32>
Same as Symbol::lineno
Trait Implementations
impl Clone for BacktraceSymbol
[src]
impl Clone for BacktraceSymbol
fn clone(&self) -> BacktraceSymbol
[src]
fn clone(&self) -> BacktraceSymbol
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for BacktraceSymbol
impl Send for BacktraceSymbol
impl Sync for BacktraceSymbol
impl Sync for BacktraceSymbol