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
ty: ScopeType
Scope type.
object: RemoteObject<'a>
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.
name: Option<Cow<'a, str>>
start_location: Option<Location<'a>>
Location in the source code where scope starts
end_location: Option<Location<'a>>
Location in the source code where scope ends
Trait Implementations
impl<'a> Clone for Scope<'a>
[src]
fn clone(&self) -> Scope<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more