Struct web_sys::WorkerDebuggerGlobalScope
source · #[repr(transparent)]pub struct WorkerDebuggerGlobalScope { /* private fields */ }
Expand description
The WorkerDebuggerGlobalScope
object
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
Implementations§
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn dump_with_string(&self, string: &str)
pub fn dump_with_string(&self, string: &str)
The dump()
method
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn enter_event_loop(&self)
pub fn enter_event_loop(&self)
The enterEventLoop()
method
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn leave_event_loop(&self)
pub fn leave_event_loop(&self)
The leaveEventLoop()
method
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn post_message(&self, message: &str)
pub fn post_message(&self, message: &str)
The postMessage()
method
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn report_error(&self, message: &str)
pub fn report_error(&self, message: &str)
The reportError()
method
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
source§impl WorkerDebuggerGlobalScope
impl WorkerDebuggerGlobalScope
sourcepub fn set_onmessage(&self, onmessage: Option<&Function>)
pub fn set_onmessage(&self, onmessage: Option<&Function>)
The onmessage
setter
This API requires the following crate features to be activated: WorkerDebuggerGlobalScope
Trait Implementations§
source§impl AsRef<EventTarget> for WorkerDebuggerGlobalScope
impl AsRef<EventTarget> for WorkerDebuggerGlobalScope
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for WorkerDebuggerGlobalScope
impl AsRef<JsValue> for WorkerDebuggerGlobalScope
source§impl AsRef<Object> for WorkerDebuggerGlobalScope
impl AsRef<Object> for WorkerDebuggerGlobalScope
source§impl Clone for WorkerDebuggerGlobalScope
impl Clone for WorkerDebuggerGlobalScope
source§fn clone(&self) -> WorkerDebuggerGlobalScope
fn clone(&self) -> WorkerDebuggerGlobalScope
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkerDebuggerGlobalScope
impl Debug for WorkerDebuggerGlobalScope
source§impl From<JsValue> for WorkerDebuggerGlobalScope
impl From<JsValue> for WorkerDebuggerGlobalScope
source§fn from(obj: JsValue) -> WorkerDebuggerGlobalScope
fn from(obj: JsValue) -> WorkerDebuggerGlobalScope
source§impl From<WorkerDebuggerGlobalScope> for EventTarget
impl From<WorkerDebuggerGlobalScope> for EventTarget
source§fn from(obj: WorkerDebuggerGlobalScope) -> EventTarget
fn from(obj: WorkerDebuggerGlobalScope) -> EventTarget
source§impl From<WorkerDebuggerGlobalScope> for JsValue
impl From<WorkerDebuggerGlobalScope> for JsValue
source§fn from(obj: WorkerDebuggerGlobalScope) -> JsValue
fn from(obj: WorkerDebuggerGlobalScope) -> JsValue
source§impl From<WorkerDebuggerGlobalScope> for Object
impl From<WorkerDebuggerGlobalScope> for Object
source§fn from(obj: WorkerDebuggerGlobalScope) -> Object
fn from(obj: WorkerDebuggerGlobalScope) -> Object
source§impl<'a> IntoWasmAbi for &'a WorkerDebuggerGlobalScope
impl<'a> IntoWasmAbi for &'a WorkerDebuggerGlobalScope
source§impl JsCast for WorkerDebuggerGlobalScope
impl JsCast for WorkerDebuggerGlobalScope
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl<'a> OptionIntoWasmAbi for &'a WorkerDebuggerGlobalScope
impl<'a> OptionIntoWasmAbi for &'a WorkerDebuggerGlobalScope
source§impl RefFromWasmAbi for WorkerDebuggerGlobalScope
impl RefFromWasmAbi for WorkerDebuggerGlobalScope
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<WorkerDebuggerGlobalScope>
type Anchor = ManuallyDrop<WorkerDebuggerGlobalScope>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for WorkerDebuggerGlobalScope
impl !Send for WorkerDebuggerGlobalScope
impl !Sync for WorkerDebuggerGlobalScope
impl Unpin for WorkerDebuggerGlobalScope
impl UnwindSafe for WorkerDebuggerGlobalScope
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more