[][src]Struct debugserver_types::Scope

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

column: Option<i64>

Optional start column of the range covered by this scope.

end_column: Option<i64>

Optional end column of the range covered by this scope.

end_line: Option<i64>

Optional end line of the range covered by this scope.

expensive: bool

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

indexed_variables: Option<i64>

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.

line: Option<i64>

Optional start line of the range covered by this scope.

name: String

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

named_variables: Option<i64>

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.

source: Option<Source>

Optional source for this scope.

variables_reference: i64

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

Trait Implementations

impl PartialEq<Scope> for Scope[src]

impl Clone for Scope[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Scope[src]

impl Serialize for Scope[src]

impl<'de> Deserialize<'de> for Scope[src]

Auto Trait Implementations

impl Sync for Scope

impl Send for Scope

impl Unpin for Scope

impl RefUnwindSafe for Scope

impl UnwindSafe for Scope

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]