#[non_exhaustive]pub struct FrameInfo {
pub module: String,
pub name: String,
pub kind: UnitKind,
pub line: u32,
}Expand description
One frame of the call stack (Vm::call_stack).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.module: StringThe module of the frame’s code.
name: StringThe name of the label or fn.
kind: UnitKindWhether name is a label or a fn.
line: u32The line the frame is running (for outer frames, the line of the call).
Trait Implementations§
impl Eq for FrameInfo
impl StructuralPartialEq for FrameInfo
Auto Trait Implementations§
impl Forget for FrameInfo
impl Freeze for FrameInfo
impl Move for FrameInfo
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfo
impl Sync for FrameInfo
impl Unpin for FrameInfo
impl UnsafeUnpin for FrameInfo
impl UnwindSafe for FrameInfo
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