pub struct StackFrame {
pub name: String,
pub own_bytes: u64,
pub calls: Vec<String>,
pub decline: Option<StackDecline>,
}Expand description
One function’s own stack behaviour, before composition.
Fields§
§name: String§own_bytes: u64Maximum bytes below entry SP reached ANYWHERE in this function’s own body — prologue plus any transient push inside an expansion. Excludes callees; composition adds the deepest one.
calls: Vec<String>Direct-call labels (func_<idx>), in program order. Duplicates are kept:
resolving them is the composer’s job, and the MAX is insensitive to
repeats anyway.
decline: Option<StackDecline>Set when this function alone cannot be bounded.
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§impl Debug for StackFrame
impl Debug for StackFrame
Source§impl<'de> Deserialize<'de> for StackFrame
impl<'de> Deserialize<'de> for StackFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnsafeUnpin for StackFrame
impl UnwindSafe for StackFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more