Struct debugserver_types::Scope [] [src]

pub struct Scope {
    pub column: Option<i64>,
    pub end_column: Option<i64>,
    pub end_line: Option<i64>,
    pub expensive: bool,
    pub indexed_variables: Option<i64>,
    pub line: Option<i64>,
    pub name: String,
    pub named_variables: Option<i64>,
    pub source: Option<Source>,
    pub variables_reference: i64,
}

A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.

Fields

Optional start column of the range covered by this scope.

Optional end column of the range covered by this scope.

Optional end line of the range covered by this scope.

If true, the number of variables in this scope is large or expensive to retrieve.

The number of indexed variables in this scope. The client can use this optional information to present the variables in a paged UI and fetch them in chunks.

Optional start line of the range covered by this scope.

Name of the scope such as 'Arguments', 'Locals'.

The number of named variables in this scope. The client can use this optional information to present the variables in a paged UI and fetch them in chunks.

Optional source for this scope.

The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest.

Trait Implementations

impl Clone for Scope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Scope
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Scope
[src]

Formats the value using the given formatter.