struct Frame {
start: usize,
end: usize,
arg_cnt: (u16, bool),
}
Expand description
A function call frame. These mirror the lisp call stack and are used to display backtraces as well as return.
Fields§
§start: usize
The start of the call frame, as a index from the bottom of the stack (not the top).
end: usize
The maximum size this stack frame can grow.
arg_cnt: (u16, bool)
Number of arguments in this call frame. The first is the count and the second is boolean indicating if the last argument is a cons with the remaining variadic arguments.
Trait Implementations§
impl Copy 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 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