Struct budvm::FaultStackFrame
source · pub struct FaultStackFrame {
pub vtable_index: Option<usize>,
pub instruction_index: usize,
}
Expand description
A stack frame entry of a Fault
.
Fields§
§vtable_index: Option<usize>
The vtable index of the function being executed. If None, the
instructions being executed were passed directly into
VirtualMachine::run()
.
instruction_index: usize
The index of the instruction that was executing when this fault was raised.
Trait Implementations§
source§impl Clone for FaultStackFrame
impl Clone for FaultStackFrame
source§fn clone(&self) -> FaultStackFrame
fn clone(&self) -> FaultStackFrame
Returns a copy 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 Debug for FaultStackFrame
impl Debug for FaultStackFrame
source§impl PartialEq<FaultStackFrame> for FaultStackFrame
impl PartialEq<FaultStackFrame> for FaultStackFrame
source§fn eq(&self, other: &FaultStackFrame) -> bool
fn eq(&self, other: &FaultStackFrame) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.