[−][src]Struct symbolic_symcache::Function
A function in a SymCache
.
This can be an actual function, an inlined function, or a public symbol.
Methods
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.
ⓘImportant traits for Lines<'a>pub fn lines(&self) -> Lines<'a>
[src]
ⓘImportant traits for Lines<'a>
An iterator over all lines in the function.
Trait Implementations
impl<'a> Clone for Function<'a>
[src]
fn clone(&self) -> Function<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'_> Debug for Function<'_>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.