Struct symbolic::symcache::Function [−][src]
pub struct Function<'a> { /* fields omitted */ }
A function in a SymCache
.
This can be an actual function, an inlined function, or a public symbol.
Implementations
impl<'a> Function<'a>
[src]
impl<'a> Function<'a>
[src]pub fn id(&self) -> usize
[src]
The ID of the function.
pub fn parent_id(&self) -> Option<usize>
[src]
The ID of the parent function, if this function was inlined.
pub fn address(&self) -> u64
[src]
The address where the function starts.
pub fn symbol(&self) -> &'a str
[src]
The raw name of the function.
pub fn language(&self) -> Language
[src]
The language of the function.
pub fn name(&self) -> Name<'_>
[src]
The name of the function suitable for demangling.
Use symbolic::demangle
for demangling this symbol.
pub fn compilation_dir(&self) -> &str
[src]
The compilation dir of the function.
pub fn lines(&self) -> Lines<'a>ⓘ
[src]
An iterator over all lines in the function.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Function<'a>
impl<'a> RefUnwindSafe for Function<'a>
impl<'a> UnwindSafe for Function<'a>
impl<'a> UnwindSafe for Function<'a>