Struct symbolic_symcache::Function
[−]
[src]
pub struct Function<'a> { /* fields omitted */ }
A view of a single function in a sym cache.
Methods
impl<'a> Function<'a>
[src]
fn id(&self) -> usize
[src]
The ID of the function
fn parent_id(&self) -> Option<usize>
[src]
The parent ID of the function
fn addr(&self) -> u64
[src]
The address where the function starts.
fn symbol(&self) -> &str
[src]
The symbol of the function.
fn function_name(&self) -> String
[src]
The demangled function name.
This demangles with default settings. For further control the symbolic demangle crate can be manually used on the symbol.
fn lang(&self) -> Language
[src]
The language of the function
fn comp_dir(&self) -> &str
[src]
The compilation dir of the function
fn lines(&'a self) -> Lines<'a>
[src]
An iterator over all lines in the function