[−][src]Struct web_sys::SharedWorkerGlobalScope
The SharedWorkerGlobalScope
object
This API requires the following crate features to be activated: SharedWorkerGlobalScope
Methods
impl SharedWorkerGlobalScope
[src]
impl SharedWorkerGlobalScope
pub fn close(&self) | [src] |
The close()
method
This API requires the following crate features to be activated: SharedWorkerGlobalScope
impl SharedWorkerGlobalScope
[src]
impl SharedWorkerGlobalScope
pub fn name(&self) -> String | [src] |
The name
getter
This API requires the following crate features to be activated: SharedWorkerGlobalScope
impl SharedWorkerGlobalScope
[src]
impl SharedWorkerGlobalScope
pub fn onconnect(&self) -> Option<Function> | [src] |
The onconnect
getter
This API requires the following crate features to be activated: SharedWorkerGlobalScope
impl SharedWorkerGlobalScope
[src]
impl SharedWorkerGlobalScope
pub fn set_onconnect(&self, onconnect: Option<&Function>) | [src] |
The onconnect
setter
This API requires the following crate features to be activated: SharedWorkerGlobalScope
Methods from Deref<Target = WorkerGlobalScope>
pub fn import_scripts(&self, urls: &Array) -> Result<(), JsValue> | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_0(&self) -> Result<(), JsValue> | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_1(&self, urls_1: &str) -> Result<(), JsValue> | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_2( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_3( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_4( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_5( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_6( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn import_scripts_7( | [src] |
The importScripts()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn self_(&self) -> WorkerGlobalScope | [src] |
The self
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn location(&self) -> WorkerLocation | [src] |
The location
getter
This API requires the following crate features to be activated: WorkerGlobalScope
, WorkerLocation
pub fn navigator(&self) -> WorkerNavigator | [src] |
The navigator
getter
This API requires the following crate features to be activated: WorkerGlobalScope
, WorkerNavigator
pub fn onerror(&self) -> Option<Function> | [src] |
The onerror
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_onerror(&self, onerror: Option<&Function>) | [src] |
The onerror
setter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn onoffline(&self) -> Option<Function> | [src] |
The onoffline
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_onoffline(&self, onoffline: Option<&Function>) | [src] |
The onoffline
setter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn ononline(&self) -> Option<Function> | [src] |
The ononline
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_ononline(&self, ononline: Option<&Function>) | [src] |
The ononline
setter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn crypto(&self) -> Result<Crypto, JsValue> | [src] |
The crypto
getter
This API requires the following crate features to be activated: Crypto
, WorkerGlobalScope
pub fn atob(&self, atob: &str) -> Result<String, JsValue> | [src] |
The atob()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn btoa(&self, btoa: &str) -> Result<String, JsValue> | [src] |
The btoa()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn clear_interval(&self) | [src] |
The clearInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn clear_interval_with_handle(&self, handle: i32) | [src] |
The clearInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn clear_timeout(&self) | [src] |
The clearTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn clear_timeout_with_handle(&self, handle: i32) | [src] |
The clearTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn create_image_bitmap_with_html_image_element( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlImageElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_html_video_element( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlVideoElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_html_canvas_element( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlCanvasElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_blob( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: Blob
, WorkerGlobalScope
pub fn create_image_bitmap_with_image_data( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: ImageData
, WorkerGlobalScope
pub fn create_image_bitmap_with_canvas_rendering_context_2d( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: CanvasRenderingContext2d
, WorkerGlobalScope
pub fn create_image_bitmap_with_image_bitmap( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: ImageBitmap
, WorkerGlobalScope
pub fn create_image_bitmap_with_buffer_source( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn create_image_bitmap_with_u8_array( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlImageElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlVideoElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: HtmlCanvasElement
, WorkerGlobalScope
pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: Blob
, WorkerGlobalScope
pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: ImageData
, WorkerGlobalScope
pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: CanvasRenderingContext2d
, WorkerGlobalScope
pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: ImageBitmap
, WorkerGlobalScope
pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh( | [src] |
The createImageBitmap()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn fetch_with_request(&self, input: &Request) -> Promise | [src] |
The fetch()
method
This API requires the following crate features to be activated: Request
, WorkerGlobalScope
pub fn fetch_with_str(&self, input: &str) -> Promise | [src] |
The fetch()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn fetch_with_request_and_init( | [src] |
The fetch()
method
This API requires the following crate features to be activated: Request
, RequestInit
, WorkerGlobalScope
pub fn fetch_with_str_and_init( | [src] |
The fetch()
method
This API requires the following crate features to be activated: RequestInit
, WorkerGlobalScope
pub fn set_interval_with_callback( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_0( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_1( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_2( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_3( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_4( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_5( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_6( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_callback_and_timeout_and_arguments_7( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str(&self, handler: &str) -> Result<i32, JsValue> | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_0( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_1( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_2( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_3( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_4( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_5( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_6( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_interval_with_str_and_timeout_and_unused_7( | [src] |
The setInterval()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_0( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_1( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_2( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_3( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_4( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_5( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_6( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_callback_and_timeout_and_arguments_7( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str(&self, handler: &str) -> Result<i32, JsValue> | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_0( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_1( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_2( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_3( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_4( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_5( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_6( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn set_timeout_with_str_and_timeout_and_unused_7( | [src] |
The setTimeout()
method
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn origin(&self) -> String | [src] |
The origin
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn is_secure_context(&self) -> bool | [src] |
The isSecureContext
getter
This API requires the following crate features to be activated: WorkerGlobalScope
pub fn indexed_db(&self) -> Result<Option<IdbFactory>, JsValue> | [src] |
The indexedDB
getter
This API requires the following crate features to be activated: IdbFactory
, WorkerGlobalScope
pub fn caches(&self) -> Result<CacheStorage, JsValue> | [src] |
The caches
getter
This API requires the following crate features to be activated: CacheStorage
, WorkerGlobalScope
Trait Implementations
impl AsRef<JsValue> for SharedWorkerGlobalScope
[src]
impl AsRef<JsValue> for SharedWorkerGlobalScope
impl AsRef<WorkerGlobalScope> for SharedWorkerGlobalScope
[src]
impl AsRef<WorkerGlobalScope> for SharedWorkerGlobalScope
fn as_ref(&self) -> &WorkerGlobalScope | [src] |
impl AsRef<EventTarget> for SharedWorkerGlobalScope
[src]
impl AsRef<EventTarget> for SharedWorkerGlobalScope
fn as_ref(&self) -> &EventTarget | [src] |
impl AsRef<Object> for SharedWorkerGlobalScope
[src]
impl AsRef<Object> for SharedWorkerGlobalScope
impl Clone for SharedWorkerGlobalScope
[src]
impl Clone for SharedWorkerGlobalScope
fn clone(&self) -> SharedWorkerGlobalScope | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl From<JsValue> for SharedWorkerGlobalScope
[src]
impl From<JsValue> for SharedWorkerGlobalScope
fn from(obj: JsValue) -> SharedWorkerGlobalScope | [src] |
impl From<SharedWorkerGlobalScope> for JsValue
[src]
impl From<SharedWorkerGlobalScope> for JsValue
fn from(obj: SharedWorkerGlobalScope) -> JsValue | [src] |
impl From<SharedWorkerGlobalScope> for WorkerGlobalScope
[src]
impl From<SharedWorkerGlobalScope> for WorkerGlobalScope
fn from(obj: SharedWorkerGlobalScope) -> WorkerGlobalScope | [src] |
impl From<SharedWorkerGlobalScope> for EventTarget
[src]
impl From<SharedWorkerGlobalScope> for EventTarget
fn from(obj: SharedWorkerGlobalScope) -> EventTarget | [src] |
impl From<SharedWorkerGlobalScope> for Object
[src]
impl From<SharedWorkerGlobalScope> for Object
fn from(obj: SharedWorkerGlobalScope) -> Object | [src] |
impl Debug for SharedWorkerGlobalScope
[src]
impl Debug for SharedWorkerGlobalScope
impl Deref for SharedWorkerGlobalScope
[src]
impl Deref for SharedWorkerGlobalScope
type Target = WorkerGlobalScope
The resulting type after dereferencing.
fn deref(&self) -> &WorkerGlobalScope | [src] |
impl WasmDescribe for SharedWorkerGlobalScope
[src]
impl WasmDescribe for SharedWorkerGlobalScope
impl IntoWasmAbi for SharedWorkerGlobalScope
[src]
impl IntoWasmAbi for SharedWorkerGlobalScope
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl<'a> IntoWasmAbi for &'a SharedWorkerGlobalScope
[src]
impl<'a> IntoWasmAbi for &'a SharedWorkerGlobalScope
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl FromWasmAbi for SharedWorkerGlobalScope
[src]
impl FromWasmAbi for SharedWorkerGlobalScope
type Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self | [src] |
impl OptionFromWasmAbi for SharedWorkerGlobalScope
[src]
impl OptionFromWasmAbi for SharedWorkerGlobalScope
impl RefFromWasmAbi for SharedWorkerGlobalScope
[src]
impl RefFromWasmAbi for SharedWorkerGlobalScope
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<SharedWorkerGlobalScope>
The type that holds the reference to 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 more
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl OptionIntoWasmAbi for SharedWorkerGlobalScope
[src]
impl OptionIntoWasmAbi for SharedWorkerGlobalScope
impl<'a> OptionIntoWasmAbi for &'a SharedWorkerGlobalScope
[src]
impl<'a> OptionIntoWasmAbi for &'a SharedWorkerGlobalScope
impl JsCast for SharedWorkerGlobalScope
[src]
impl JsCast for SharedWorkerGlobalScope
fn instanceof(val: &JsValue) -> bool | [src] |
fn unchecked_from_js(val: JsValue) -> Self | [src] |
fn unchecked_from_js_ref(val: &JsValue) -> &Self | [src] |
fn is_instance_of<T>(&self) -> bool where | [src] |
Test whether this JS value is an instance of the type T
. Read more
fn dyn_into<T>(self) -> Result<T, Self> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T
. Read more
fn dyn_ref<T>(&self) -> Option<&T> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T
. Read more
fn unchecked_into<T>(self) -> T where | [src] |
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where | [src] |
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
impl !Send for SharedWorkerGlobalScope
impl !Send for SharedWorkerGlobalScope
impl !Sync for SharedWorkerGlobalScope
impl !Sync for SharedWorkerGlobalScope
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |