pub struct StackFrame {
pub pc: u64,
pub sp: u64,
pub fp: u64,
}Expand description
Represents the CPU register state for a single stack frame. This structure captures the key registers used for stack unwinding.
Fields§
§pc: u64The program counter (PC) at the time of the stack frame capture.
sp: u64The stack pointer (SP) at the time of the stack frame capture.
fp: u64The frame pointer (FP) at the time of the stack frame capture.
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StackFrame
impl Default for StackFrame
Source§fn default() -> StackFrame
fn default() -> StackFrame
Returns the “default value” for a type. Read more
Source§impl Display for StackFrame
impl Display for StackFrame
impl Copy for StackFrame
Auto Trait Implementations§
impl Freeze for StackFrame
impl RefUnwindSafe for StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin 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