Struct symbolic_symcache::Function [−][src]
pub struct Function<'a> { /* fields omitted */ }
A view of a single function in a SymCache
.
Methods
impl<'a> Function<'a>
[src]
impl<'a> Function<'a>
pub fn id(&self) -> usize
[src]
pub fn id(&self) -> usize
The ID of the function.
pub fn parent_id(&self) -> Option<usize>
[src]
pub fn parent_id(&self) -> Option<usize>
The parent ID of the function.
pub fn addr(&self) -> u64
[src]
pub fn addr(&self) -> u64
The address where the function starts.
pub fn symbol(&self) -> &str
[src]
pub fn symbol(&self) -> &str
The symbol of the function.
pub fn function_name(&self) -> String
[src]
pub fn function_name(&self) -> String
The demangled function name.
This demangles with default settings. For further control the symbolic demangle crate can be manually used on the symbol.
pub fn lang(&self) -> Language
[src]
pub fn lang(&self) -> Language
The language of the function.
pub fn comp_dir(&self) -> &str
[src]
pub fn comp_dir(&self) -> &str
The compilation dir of the function.
ⓘImportant traits for Lines<'a>pub fn lines(&'a self) -> Lines<'a>
[src]
ⓘImportant traits for Lines<'a>
pub fn lines(&'a self) -> Lines<'a>
An iterator over all lines in the function.
Trait Implementations
impl<'a> Debug for Function<'a>
[src]
impl<'a> Debug for Function<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Display for Function<'a>
[src]
impl<'a> Display for Function<'a>