Struct chrome_remote_interface_model::debugger::ScopeBuilder[][src]

pub struct ScopeBuilder { /* fields omitted */ }

Implementations

impl ScopeBuilder[src]

pub fn type(&mut self, v: ScopeType) -> &mut Self[src]

Scope type.

pub fn object(&mut self, v: RemoteObject) -> &mut Self[src]

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[src]

pub fn start_location(&mut self, v: Location) -> &mut Self[src]

Location in the source code where scope starts

pub fn end_location(&mut self, v: Location) -> &mut Self[src]

Location in the source code where scope ends

pub fn build(&mut self) -> Result<Scope, &'static str>[src]

Trait Implementations

impl Clone for ScopeBuilder[src]

impl Debug for ScopeBuilder[src]

impl Default for ScopeBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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, 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.