Struct muse_lang::vm::StackFrame
source · pub struct StackFrame { /* private fields */ }Expand description
Information about an executing stack frame.
Implementations§
source§impl StackFrame
impl StackFrame
sourcepub const fn instruction(&self) -> usize
pub const fn instruction(&self) -> usize
Returns the instruction offset of the frame.
sourcepub fn source_range(&self) -> Option<SourceRange>
pub fn source_range(&self) -> Option<SourceRange>
Returns the source range for this instruction, if available.
Trait Implementations§
source§impl Clone for StackFrame
impl Clone for StackFrame
source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
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 StackFrame
impl Debug for StackFrame
source§impl PartialEq for StackFrame
impl PartialEq for StackFrame
impl StructuralPartialEq 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
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)