#[repr(C)]pub struct Frame {
pub fp: usize,
pub ip: usize,
}Expand description
Represents a single stack frame in the unwound stack.
Fields§
§fp: usizeThe frame pointer of the previous stack frame.
ip: usizeThe instruction pointer (program counter) after the function call.
Implementations§
Trait Implementations§
impl Copy for Frame
impl Eq for Frame
Source§impl Ord for Frame
impl Ord for Frame
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Frame
impl PartialOrd for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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