pub struct Frame {
pub func: String,
pub file: String,
pub line: Option<u32>,
pub col: Option<u32>,
pub app: Option<bool>,
pub code: Option<FrameCode>,
}Expand description
A frame of a stacktrace.
Fields§
§func: StringThe function (fn on the wire; <anonymous> when empty).
file: StringThe file path; a relative one opens against the pane’s directory.
line: Option<u32>The 1-based line.
col: Option<u32>The 1-based column.
app: Option<bool>Your code (default) or a library’s (false).
code: Option<FrameCode>A source excerpt for split.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.