pub struct ScopeBuilder { /* private fields */ }Available on crate features
Debugger and Runtime only.Implementations§
Source§impl ScopeBuilder
impl ScopeBuilder
Sourcepub fn object(&mut self, v: RemoteObject) -> &mut Self
pub fn object(&mut self, v: RemoteObject) -> &mut Self
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(&mut self, v: String) -> &mut Self
Sourcepub fn start_location(&mut self, v: Location) -> &mut Self
pub fn start_location(&mut self, v: Location) -> &mut Self
Location in the source code where scope starts
Sourcepub fn end_location(&mut self, v: Location) -> &mut Self
pub fn end_location(&mut self, v: Location) -> &mut Self
Location in the source code where scope ends
pub fn build(&mut self) -> Result<Scope, &'static str>
Trait Implementations§
Source§impl Clone for ScopeBuilder
impl Clone for ScopeBuilder
Source§fn clone(&self) -> ScopeBuilder
fn clone(&self) -> ScopeBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopeBuilder
impl Debug for ScopeBuilder
Auto Trait Implementations§
impl Freeze for ScopeBuilder
impl RefUnwindSafe for ScopeBuilder
impl Send for ScopeBuilder
impl Sync for ScopeBuilder
impl Unpin for ScopeBuilder
impl UnwindSafe for ScopeBuilder
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