pub struct CallFrame {
pub function_name: String,
pub source: Option<SourceInfo>,
}Expand description
A call stack frame
Tracks function calls for error reporting with source locations.
Fields§
§function_name: StringFunction name (or “
source: Option<SourceInfo>Source location (file:line:column)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnwindSafe for CallFrame
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