pub struct StackFrame {
pub id: i32,
pub name: String,
pub source: Source,
pub line: i32,
pub column: i32,
pub end_line: Option<i32>,
pub end_column: Option<i32>,
}Expand description
Stack frame information used by the debug adapter.
Corresponds to the DAP StackFrame type in the stackTrace response.
Fields§
§id: i32Unique numeric identifier for this frame within the current stopped state.
name: StringHuman-readable display name for the frame (e.g. "main::foo").
source: SourceSource file that contains this frame’s code.
line: i321-based line number of the current instruction in the frame.
column: i321-based column number of the current instruction in the frame.
end_line: Option<i32>1-based end line of the range covered by this frame, if known.
end_column: Option<i32>1-based end column of the range covered by this frame, if known.
Implementations§
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<'de> Deserialize<'de> for StackFrame
impl<'de> Deserialize<'de> for StackFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StackFrame
impl PartialEq for StackFrame
Source§fn eq(&self, other: &StackFrame) -> bool
fn eq(&self, other: &StackFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StackFrame
impl Serialize 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 UnsafeUnpin 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