[−][src]Struct stack_sizes::Function
A symbol that represents a function (subroutine)
Methods
impl<'a> Function<'a>[src]
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> 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<'a> Debug for Function<'a>[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
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, 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>,