[−][src]Struct symbolic::symcache::Function
A function in a SymCache
.
This can be an actual function, an inlined function, or a public symbol.
Implementations
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>
[src]
impl<'a> Send for Function<'a>
[src]
impl<'a> Sync for Function<'a>
[src]
impl<'a> Unpin for Function<'a>
[src]
impl<'a> UnwindSafe for Function<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,