[−][src]Struct web_sys::ServiceWorkerGlobalScope
The ServiceWorkerGlobalScope
object
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
Methods
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn skip_waiting(&self) -> Result<Promise, JsValue> | [src] |
The skipWaiting()
method
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn clients(&self) -> Clients | [src] |
The clients
getter
This API requires the following crate features to be activated: Clients
, ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn registration(&self) -> ServiceWorkerRegistration | [src] |
The registration
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
, ServiceWorkerRegistration
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn oninstall(&self) -> Option<Function> | [src] |
The oninstall
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_oninstall(&self, oninstall: Option<&Function>) | [src] |
The oninstall
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onactivate(&self) -> Option<Function> | [src] |
The onactivate
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onactivate(&self, onactivate: Option<&Function>) | [src] |
The onactivate
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onfetch(&self) -> Option<Function> | [src] |
The onfetch
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onfetch(&self, onfetch: Option<&Function>) | [src] |
The onfetch
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onmessage(&self) -> Option<Function> | [src] |
The onmessage
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onmessage(&self, onmessage: Option<&Function>) | [src] |
The onmessage
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onpush(&self) -> Option<Function> | [src] |
The onpush
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onpush(&self, onpush: Option<&Function>) | [src] |
The onpush
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onpushsubscriptionchange(&self) -> Option<Function> | [src] |
The onpushsubscriptionchange
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onpushsubscriptionchange( | [src] |
The onpushsubscriptionchange
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onnotificationclick(&self) -> Option<Function> | [src] |
The onnotificationclick
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onnotificationclick(&self, onnotificationclick: Option<&Function>) | [src] |
The onnotificationclick
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn onnotificationclose(&self) -> Option<Function> | [src] |
The onnotificationclose
getter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
impl ServiceWorkerGlobalScope
[src]
impl ServiceWorkerGlobalScope
pub fn set_onnotificationclose(&self, onnotificationclose: Option<&Function>) | [src] |
The onnotificationclose
setter
This API requires the following crate features to be activated: ServiceWorkerGlobalScope
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 From<JsValue> for ServiceWorkerGlobalScope
[src]
impl From<JsValue> for ServiceWorkerGlobalScope
fn from(obj: JsValue) -> ServiceWorkerGlobalScope | [src] |
impl From<ServiceWorkerGlobalScope> for JsValue
[src]
impl From<ServiceWorkerGlobalScope> for JsValue
fn from(obj: ServiceWorkerGlobalScope) -> JsValue | [src] |
impl From<ServiceWorkerGlobalScope> for WorkerGlobalScope
[src]
impl From<ServiceWorkerGlobalScope> for WorkerGlobalScope
fn from(obj: ServiceWorkerGlobalScope) -> WorkerGlobalScope | [src] |
impl From<ServiceWorkerGlobalScope> for EventTarget
[src]
impl From<ServiceWorkerGlobalScope> for EventTarget
fn from(obj: ServiceWorkerGlobalScope) -> EventTarget | [src] |
impl From<ServiceWorkerGlobalScope> for Object
[src]
impl From<ServiceWorkerGlobalScope> for Object
fn from(obj: ServiceWorkerGlobalScope) -> Object | [src] |
impl AsRef<JsValue> for ServiceWorkerGlobalScope
[src]
impl AsRef<JsValue> for ServiceWorkerGlobalScope
impl AsRef<WorkerGlobalScope> for ServiceWorkerGlobalScope
[src]
impl AsRef<WorkerGlobalScope> for ServiceWorkerGlobalScope
fn as_ref(&self) -> &WorkerGlobalScope | [src] |
impl AsRef<EventTarget> for ServiceWorkerGlobalScope
[src]
impl AsRef<EventTarget> for ServiceWorkerGlobalScope
fn as_ref(&self) -> &EventTarget | [src] |
impl AsRef<Object> for ServiceWorkerGlobalScope
[src]
impl AsRef<Object> for ServiceWorkerGlobalScope
impl Clone for ServiceWorkerGlobalScope
[src]
impl Clone for ServiceWorkerGlobalScope
fn clone(&self) -> ServiceWorkerGlobalScope | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for ServiceWorkerGlobalScope
[src]
impl Debug for ServiceWorkerGlobalScope
impl Deref for ServiceWorkerGlobalScope
[src]
impl Deref for ServiceWorkerGlobalScope
type Target = WorkerGlobalScope
The resulting type after dereferencing.
fn deref(&self) -> &WorkerGlobalScope | [src] |
impl JsCast for ServiceWorkerGlobalScope
[src]
impl JsCast for ServiceWorkerGlobalScope
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
impl FromWasmAbi for ServiceWorkerGlobalScope
[src]
impl FromWasmAbi for ServiceWorkerGlobalScope
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 WasmDescribe for ServiceWorkerGlobalScope
[src]
impl WasmDescribe for ServiceWorkerGlobalScope
impl IntoWasmAbi for ServiceWorkerGlobalScope
[src]
impl IntoWasmAbi for ServiceWorkerGlobalScope
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 ServiceWorkerGlobalScope
[src]
impl<'a> IntoWasmAbi for &'a ServiceWorkerGlobalScope
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 OptionFromWasmAbi for ServiceWorkerGlobalScope
[src]
impl OptionFromWasmAbi for ServiceWorkerGlobalScope
impl RefFromWasmAbi for ServiceWorkerGlobalScope
[src]
impl RefFromWasmAbi for ServiceWorkerGlobalScope
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<ServiceWorkerGlobalScope>
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 ServiceWorkerGlobalScope
[src]
impl OptionIntoWasmAbi for ServiceWorkerGlobalScope
impl<'a> OptionIntoWasmAbi for &'a ServiceWorkerGlobalScope
[src]
impl<'a> OptionIntoWasmAbi for &'a ServiceWorkerGlobalScope
Auto Trait Implementations
impl !Send for ServiceWorkerGlobalScope
impl !Send for ServiceWorkerGlobalScope
impl !Sync for ServiceWorkerGlobalScope
impl !Sync for ServiceWorkerGlobalScope
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> 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, 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> 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] |