Struct cdp::debugger::Scope [] [src]

pub struct Scope<'a> {
    pub ty: ScopeType,
    pub object: RemoteObject<'a>,
    pub name: Option<Cow<'a, str>>,
    pub start_location: Option<Location<'a>>,
    pub end_location: Option<Location<'a>>,
}

Scope description.

Fields

Scope type.

Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.

Location in the source code where scope starts

Location in the source code where scope ends

Trait Implementations

impl<'a> Clone for Scope<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Scope<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Scope<'a>
[src]

[src]

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

[src]

This method tests for !=.