[][src]Struct stack_sizes::Function

pub struct Function<'a, A> { /* fields omitted */ }

Information about a function

Methods

impl<'a, A> Function<'a, A>[src]

pub fn address(&self) -> Option<A> where
    A: Copy
[src]

Returns the address of the function

A value of None indicates that this symbol is undefined (dynamically loaded)

pub fn names(&self) -> &[&'a str][src]

Returns the (mangled) name of the function and its aliases

pub fn size(&self) -> u64[src]

Returns the size of this subroutine in bytes

pub fn stack(&self) -> Option<u64>[src]

Returns the stack usage of the function in bytes

Trait Implementations

impl<'a, A: Debug> Debug for Function<'a, A>[src]

Auto Trait Implementations

impl<'a, A> Send for Function<'a, A> where
    A: Send

impl<'a, A> Sync for Function<'a, A> where
    A: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]