pub struct VmTraceEvent {
pub offset: usize,
pub ip: usize,
pub sp: usize,
pub bp: usize,
pub instruction: NcsInstruction,
}Expand description
One instruction-dispatch trace event emitted by the VM.
Fields§
§offset: usizeScript byte offset of the instruction about to execute.
ip: usizeCurrent instruction pointer in code-section bytes.
sp: usizeCurrent stack pointer in stack cells.
bp: usizeCurrent base pointer in stack cells.
instruction: NcsInstructionOne cloned instruction payload.
Trait Implementations§
Source§impl Clone for VmTraceEvent
impl Clone for VmTraceEvent
Source§fn clone(&self) -> VmTraceEvent
fn clone(&self) -> VmTraceEvent
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 moreAuto Trait Implementations§
impl Freeze for VmTraceEvent
impl RefUnwindSafe for VmTraceEvent
impl Send for VmTraceEvent
impl Sync for VmTraceEvent
impl Unpin for VmTraceEvent
impl UnsafeUnpin for VmTraceEvent
impl UnwindSafe for VmTraceEvent
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