Struct symbolic_symcache::LineInfo [−][src]
pub struct LineInfo<'a> { /* fields omitted */ }
Information on a matched source line.
Methods
impl<'a> LineInfo<'a>
[src]
impl<'a> LineInfo<'a>
pub fn arch(&self) -> Arch
[src]
pub fn arch(&self) -> Arch
The architecture of the matched line.
pub fn id(&self) -> DebugId
[src]
pub fn id(&self) -> DebugId
The id of the matched line.
pub fn sym_addr(&self) -> u64
[src]
pub fn sym_addr(&self) -> u64
The instruction address where the function starts.
pub fn line_addr(&self) -> u64
[src]
pub fn line_addr(&self) -> u64
The instruction address where the line starts.
pub fn instr_addr(&self) -> u64
[src]
pub fn instr_addr(&self) -> u64
The actual instruction address.
pub fn line(&self) -> u32
[src]
pub fn line(&self) -> u32
The current line.
pub fn lang(&self) -> Language
[src]
pub fn lang(&self) -> Language
The current source code language.
pub fn symbol(&self) -> &'a str
[src]
pub fn symbol(&self) -> &'a str
The string value of the symbol (mangled).
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 filename(&self) -> &'a str
[src]
pub fn filename(&self) -> &'a str
The filename of the current line.
pub fn base_dir(&self) -> &str
[src]
pub fn base_dir(&self) -> &str
The base dir of the current line.
pub fn full_filename(&self) -> String
[src]
pub fn full_filename(&self) -> String
The fully joined file name.
pub fn comp_dir(&self) -> &'a str
[src]
pub fn comp_dir(&self) -> &'a str
The compilation dir of the function.
Trait Implementations
impl<'a> Display for LineInfo<'a>
[src]
impl<'a> Display for LineInfo<'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> Debug for LineInfo<'a>
[src]
impl<'a> Debug for LineInfo<'a>