Struct debugserver_types::StackFrame
[−]
[src]
pub struct StackFrame { pub column: i64, pub end_column: Option<i64>, pub end_line: Option<i64>, pub id: i64, pub line: i64, pub module_id: Option<Value>, pub name: String, pub source: Option<Source>, }
A Stackframe contains the source location.
Fields
column: i64
The column within the line. If source is null or doesn't exist, column is 0 and must be ignored.
end_column: Option<i64>
An optional end column of the range covered by the stack frame.
end_line: Option<i64>
An optional end line of the range covered by the stack frame.
id: i64
An identifier for the stack frame. It must be unique across all threads. This id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe.
line: i64
The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored.
module_id: Option<Value>
The module associated with this frame, if any.
name: String
The name of the stack frame, typically a method name.
source: Option<Source>
The optional source of the frame.
Trait Implementations
impl Clone for StackFrame
[src]
fn clone(&self) -> StackFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for StackFrame
[src]
fn eq(&self, __arg_0: &StackFrame) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StackFrame) -> bool
This method tests for !=
.