pub struct Scope { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Scope description.
Implementations§
Source§impl Scope
impl Scope
pub fn builder() -> ScopeBuilder
Sourcepub fn object(&self) -> &RemoteObject
pub fn object(&self) -> &RemoteObject
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.
pub fn name(&self) -> Option<&String>
Sourcepub fn start_location(&self) -> Option<&Location>
pub fn start_location(&self) -> Option<&Location>
Location in the source code where scope starts
Sourcepub fn end_location(&self) -> Option<&Location>
pub fn end_location(&self) -> Option<&Location>
Location in the source code where scope ends
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scope
impl<'de> Deserialize<'de> for Scope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more