1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerGlobalScope , typescript_type = "WorkerGlobalScope")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `WorkerGlobalScope` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] 13 pub type WorkerGlobalScope; 14 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = self)] 15 #[doc = "Getter for the `self` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] self_(this: &WorkerGlobalScope) -> WorkerGlobalScope20 pub fn self_(this: &WorkerGlobalScope) -> WorkerGlobalScope; 21 #[cfg(feature = "WorkerLocation")] 22 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = location)] 23 #[doc = "Getter for the `location` field of this object."] 24 #[doc = ""] 25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/location)"] 26 #[doc = ""] 27 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerLocation`*"] location(this: &WorkerGlobalScope) -> WorkerLocation28 pub fn location(this: &WorkerGlobalScope) -> WorkerLocation; 29 #[cfg(feature = "WorkerNavigator")] 30 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = navigator)] 31 #[doc = "Getter for the `navigator` field of this object."] 32 #[doc = ""] 33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator)"] 34 #[doc = ""] 35 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerNavigator`*"] navigator(this: &WorkerGlobalScope) -> WorkerNavigator36 pub fn navigator(this: &WorkerGlobalScope) -> WorkerNavigator; 37 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onerror)] 38 #[doc = "Getter for the `onerror` field of this object."] 39 #[doc = ""] 40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)"] 41 #[doc = ""] 42 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] onerror(this: &WorkerGlobalScope) -> Option<::js_sys::Function>43 pub fn onerror(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; 44 # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onerror)] 45 #[doc = "Setter for the `onerror` field of this object."] 46 #[doc = ""] 47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)"] 48 #[doc = ""] 49 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_onerror(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>)50 pub fn set_onerror(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); 51 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onoffline)] 52 #[doc = "Getter for the `onoffline` field of this object."] 53 #[doc = ""] 54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)"] 55 #[doc = ""] 56 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] onoffline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>57 pub fn onoffline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; 58 # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onoffline)] 59 #[doc = "Setter for the `onoffline` field of this object."] 60 #[doc = ""] 61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)"] 62 #[doc = ""] 63 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_onoffline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>)64 pub fn set_onoffline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); 65 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = ononline)] 66 #[doc = "Getter for the `ononline` field of this object."] 67 #[doc = ""] 68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)"] 69 #[doc = ""] 70 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] ononline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>71 pub fn ononline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; 72 # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = ononline)] 73 #[doc = "Setter for the `ononline` field of this object."] 74 #[doc = ""] 75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)"] 76 #[doc = ""] 77 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_ononline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>)78 pub fn set_ononline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); 79 #[cfg(feature = "Crypto")] 80 # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = crypto)] 81 #[doc = "Getter for the `crypto` field of this object."] 82 #[doc = ""] 83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/crypto)"] 84 #[doc = ""] 85 #[doc = "*This API requires the following crate features to be activated: `Crypto`, `WorkerGlobalScope`*"] crypto(this: &WorkerGlobalScope) -> Result<Crypto, JsValue>86 pub fn crypto(this: &WorkerGlobalScope) -> Result<Crypto, JsValue>; 87 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = origin)] 88 #[doc = "Getter for the `origin` field of this object."] 89 #[doc = ""] 90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)"] 91 #[doc = ""] 92 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] origin(this: &WorkerGlobalScope) -> String93 pub fn origin(this: &WorkerGlobalScope) -> String; 94 # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = isSecureContext)] 95 #[doc = "Getter for the `isSecureContext` field of this object."] 96 #[doc = ""] 97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)"] 98 #[doc = ""] 99 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] is_secure_context(this: &WorkerGlobalScope) -> bool100 pub fn is_secure_context(this: &WorkerGlobalScope) -> bool; 101 #[cfg(feature = "IdbFactory")] 102 # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = indexedDB)] 103 #[doc = "Getter for the `indexedDB` field of this object."] 104 #[doc = ""] 105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)"] 106 #[doc = ""] 107 #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*"] indexed_db(this: &WorkerGlobalScope) -> Result<Option<IdbFactory>, JsValue>108 pub fn indexed_db(this: &WorkerGlobalScope) -> Result<Option<IdbFactory>, JsValue>; 109 #[cfg(feature = "CacheStorage")] 110 # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = caches)] 111 #[doc = "Getter for the `caches` field of this object."] 112 #[doc = ""] 113 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/caches)"] 114 #[doc = ""] 115 #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `WorkerGlobalScope`*"] caches(this: &WorkerGlobalScope) -> Result<CacheStorage, JsValue>116 pub fn caches(this: &WorkerGlobalScope) -> Result<CacheStorage, JsValue>; 117 # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = importScripts)] 118 #[doc = "The `importScripts()` method."] 119 #[doc = ""] 120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 121 #[doc = ""] 122 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts(this: &WorkerGlobalScope, urls: &::js_sys::Array) -> Result<(), JsValue>123 pub fn import_scripts(this: &WorkerGlobalScope, urls: &::js_sys::Array) -> Result<(), JsValue>; 124 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 125 #[doc = "The `importScripts()` method."] 126 #[doc = ""] 127 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 128 #[doc = ""] 129 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_0(this: &WorkerGlobalScope) -> Result<(), JsValue>130 pub fn import_scripts_0(this: &WorkerGlobalScope) -> Result<(), JsValue>; 131 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 132 #[doc = "The `importScripts()` method."] 133 #[doc = ""] 134 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 135 #[doc = ""] 136 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_1(this: &WorkerGlobalScope, urls_1: &str) -> Result<(), JsValue>137 pub fn import_scripts_1(this: &WorkerGlobalScope, urls_1: &str) -> Result<(), JsValue>; 138 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 139 #[doc = "The `importScripts()` method."] 140 #[doc = ""] 141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 142 #[doc = ""] 143 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_2( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, ) -> Result<(), JsValue>144 pub fn import_scripts_2( 145 this: &WorkerGlobalScope, 146 urls_1: &str, 147 urls_2: &str, 148 ) -> Result<(), JsValue>; 149 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 150 #[doc = "The `importScripts()` method."] 151 #[doc = ""] 152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 153 #[doc = ""] 154 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_3( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, urls_3: &str, ) -> Result<(), JsValue>155 pub fn import_scripts_3( 156 this: &WorkerGlobalScope, 157 urls_1: &str, 158 urls_2: &str, 159 urls_3: &str, 160 ) -> Result<(), JsValue>; 161 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 162 #[doc = "The `importScripts()` method."] 163 #[doc = ""] 164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 165 #[doc = ""] 166 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_4( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, urls_3: &str, urls_4: &str, ) -> Result<(), JsValue>167 pub fn import_scripts_4( 168 this: &WorkerGlobalScope, 169 urls_1: &str, 170 urls_2: &str, 171 urls_3: &str, 172 urls_4: &str, 173 ) -> Result<(), JsValue>; 174 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 175 #[doc = "The `importScripts()` method."] 176 #[doc = ""] 177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 178 #[doc = ""] 179 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_5( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, urls_3: &str, urls_4: &str, urls_5: &str, ) -> Result<(), JsValue>180 pub fn import_scripts_5( 181 this: &WorkerGlobalScope, 182 urls_1: &str, 183 urls_2: &str, 184 urls_3: &str, 185 urls_4: &str, 186 urls_5: &str, 187 ) -> Result<(), JsValue>; 188 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 189 #[doc = "The `importScripts()` method."] 190 #[doc = ""] 191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 192 #[doc = ""] 193 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_6( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, urls_3: &str, urls_4: &str, urls_5: &str, urls_6: &str, ) -> Result<(), JsValue>194 pub fn import_scripts_6( 195 this: &WorkerGlobalScope, 196 urls_1: &str, 197 urls_2: &str, 198 urls_3: &str, 199 urls_4: &str, 200 urls_5: &str, 201 urls_6: &str, 202 ) -> Result<(), JsValue>; 203 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] 204 #[doc = "The `importScripts()` method."] 205 #[doc = ""] 206 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)"] 207 #[doc = ""] 208 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] import_scripts_7( this: &WorkerGlobalScope, urls_1: &str, urls_2: &str, urls_3: &str, urls_4: &str, urls_5: &str, urls_6: &str, urls_7: &str, ) -> Result<(), JsValue>209 pub fn import_scripts_7( 210 this: &WorkerGlobalScope, 211 urls_1: &str, 212 urls_2: &str, 213 urls_3: &str, 214 urls_4: &str, 215 urls_5: &str, 216 urls_6: &str, 217 urls_7: &str, 218 ) -> Result<(), JsValue>; 219 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = atob)] 220 #[doc = "The `atob()` method."] 221 #[doc = ""] 222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/atob)"] 223 #[doc = ""] 224 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] atob(this: &WorkerGlobalScope, atob: &str) -> Result<String, JsValue>225 pub fn atob(this: &WorkerGlobalScope, atob: &str) -> Result<String, JsValue>; 226 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = btoa)] 227 #[doc = "The `btoa()` method."] 228 #[doc = ""] 229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/btoa)"] 230 #[doc = ""] 231 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] btoa(this: &WorkerGlobalScope, btoa: &str) -> Result<String, JsValue>232 pub fn btoa(this: &WorkerGlobalScope, btoa: &str) -> Result<String, JsValue>; 233 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)] 234 #[doc = "The `clearInterval()` method."] 235 #[doc = ""] 236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)"] 237 #[doc = ""] 238 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] clear_interval(this: &WorkerGlobalScope)239 pub fn clear_interval(this: &WorkerGlobalScope); 240 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)] 241 #[doc = "The `clearInterval()` method."] 242 #[doc = ""] 243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)"] 244 #[doc = ""] 245 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] clear_interval_with_handle(this: &WorkerGlobalScope, handle: i32)246 pub fn clear_interval_with_handle(this: &WorkerGlobalScope, handle: i32); 247 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)] 248 #[doc = "The `clearTimeout()` method."] 249 #[doc = ""] 250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)"] 251 #[doc = ""] 252 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] clear_timeout(this: &WorkerGlobalScope)253 pub fn clear_timeout(this: &WorkerGlobalScope); 254 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)] 255 #[doc = "The `clearTimeout()` method."] 256 #[doc = ""] 257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)"] 258 #[doc = ""] 259 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] clear_timeout_with_handle(this: &WorkerGlobalScope, handle: i32)260 pub fn clear_timeout_with_handle(this: &WorkerGlobalScope, handle: i32); 261 #[cfg(feature = "HtmlImageElement")] 262 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 263 #[doc = "The `createImageBitmap()` method."] 264 #[doc = ""] 265 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 266 #[doc = ""] 267 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_image_element( this: &WorkerGlobalScope, a_image: &HtmlImageElement, ) -> Result<::js_sys::Promise, JsValue>268 pub fn create_image_bitmap_with_html_image_element( 269 this: &WorkerGlobalScope, 270 a_image: &HtmlImageElement, 271 ) -> Result<::js_sys::Promise, JsValue>; 272 #[cfg(feature = "HtmlVideoElement")] 273 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 274 #[doc = "The `createImageBitmap()` method."] 275 #[doc = ""] 276 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 277 #[doc = ""] 278 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_video_element( this: &WorkerGlobalScope, a_image: &HtmlVideoElement, ) -> Result<::js_sys::Promise, JsValue>279 pub fn create_image_bitmap_with_html_video_element( 280 this: &WorkerGlobalScope, 281 a_image: &HtmlVideoElement, 282 ) -> Result<::js_sys::Promise, JsValue>; 283 #[cfg(feature = "HtmlCanvasElement")] 284 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 285 #[doc = "The `createImageBitmap()` method."] 286 #[doc = ""] 287 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 288 #[doc = ""] 289 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_canvas_element( this: &WorkerGlobalScope, a_image: &HtmlCanvasElement, ) -> Result<::js_sys::Promise, JsValue>290 pub fn create_image_bitmap_with_html_canvas_element( 291 this: &WorkerGlobalScope, 292 a_image: &HtmlCanvasElement, 293 ) -> Result<::js_sys::Promise, JsValue>; 294 #[cfg(feature = "Blob")] 295 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 296 #[doc = "The `createImageBitmap()` method."] 297 #[doc = ""] 298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 299 #[doc = ""] 300 #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*"] create_image_bitmap_with_blob( this: &WorkerGlobalScope, a_image: &Blob, ) -> Result<::js_sys::Promise, JsValue>301 pub fn create_image_bitmap_with_blob( 302 this: &WorkerGlobalScope, 303 a_image: &Blob, 304 ) -> Result<::js_sys::Promise, JsValue>; 305 #[cfg(feature = "ImageData")] 306 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 307 #[doc = "The `createImageBitmap()` method."] 308 #[doc = ""] 309 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 310 #[doc = ""] 311 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*"] create_image_bitmap_with_image_data( this: &WorkerGlobalScope, a_image: &ImageData, ) -> Result<::js_sys::Promise, JsValue>312 pub fn create_image_bitmap_with_image_data( 313 this: &WorkerGlobalScope, 314 a_image: &ImageData, 315 ) -> Result<::js_sys::Promise, JsValue>; 316 #[cfg(feature = "CanvasRenderingContext2d")] 317 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 318 #[doc = "The `createImageBitmap()` method."] 319 #[doc = ""] 320 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 321 #[doc = ""] 322 #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*"] create_image_bitmap_with_canvas_rendering_context_2d( this: &WorkerGlobalScope, a_image: &CanvasRenderingContext2d, ) -> Result<::js_sys::Promise, JsValue>323 pub fn create_image_bitmap_with_canvas_rendering_context_2d( 324 this: &WorkerGlobalScope, 325 a_image: &CanvasRenderingContext2d, 326 ) -> Result<::js_sys::Promise, JsValue>; 327 #[cfg(feature = "ImageBitmap")] 328 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 329 #[doc = "The `createImageBitmap()` method."] 330 #[doc = ""] 331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 332 #[doc = ""] 333 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*"] create_image_bitmap_with_image_bitmap( this: &WorkerGlobalScope, a_image: &ImageBitmap, ) -> Result<::js_sys::Promise, JsValue>334 pub fn create_image_bitmap_with_image_bitmap( 335 this: &WorkerGlobalScope, 336 a_image: &ImageBitmap, 337 ) -> Result<::js_sys::Promise, JsValue>; 338 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 339 #[doc = "The `createImageBitmap()` method."] 340 #[doc = ""] 341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 342 #[doc = ""] 343 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] create_image_bitmap_with_buffer_source( this: &WorkerGlobalScope, a_image: &::js_sys::Object, ) -> Result<::js_sys::Promise, JsValue>344 pub fn create_image_bitmap_with_buffer_source( 345 this: &WorkerGlobalScope, 346 a_image: &::js_sys::Object, 347 ) -> Result<::js_sys::Promise, JsValue>; 348 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 349 #[doc = "The `createImageBitmap()` method."] 350 #[doc = ""] 351 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 352 #[doc = ""] 353 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] create_image_bitmap_with_u8_array( this: &WorkerGlobalScope, a_image: &mut [u8], ) -> Result<::js_sys::Promise, JsValue>354 pub fn create_image_bitmap_with_u8_array( 355 this: &WorkerGlobalScope, 356 a_image: &mut [u8], 357 ) -> Result<::js_sys::Promise, JsValue>; 358 #[cfg(feature = "HtmlImageElement")] 359 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 360 #[doc = "The `createImageBitmap()` method."] 361 #[doc = ""] 362 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 363 #[doc = ""] 364 #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &HtmlImageElement, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>365 pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 366 this: &WorkerGlobalScope, 367 a_image: &HtmlImageElement, 368 a_sx: i32, 369 a_sy: i32, 370 a_sw: i32, 371 a_sh: i32, 372 ) -> Result<::js_sys::Promise, JsValue>; 373 #[cfg(feature = "HtmlVideoElement")] 374 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 375 #[doc = "The `createImageBitmap()` method."] 376 #[doc = ""] 377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 378 #[doc = ""] 379 #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &HtmlVideoElement, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>380 pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 381 this: &WorkerGlobalScope, 382 a_image: &HtmlVideoElement, 383 a_sx: i32, 384 a_sy: i32, 385 a_sw: i32, 386 a_sh: i32, 387 ) -> Result<::js_sys::Promise, JsValue>; 388 #[cfg(feature = "HtmlCanvasElement")] 389 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 390 #[doc = "The `createImageBitmap()` method."] 391 #[doc = ""] 392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 393 #[doc = ""] 394 #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*"] create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &HtmlCanvasElement, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>395 pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 396 this: &WorkerGlobalScope, 397 a_image: &HtmlCanvasElement, 398 a_sx: i32, 399 a_sy: i32, 400 a_sw: i32, 401 a_sh: i32, 402 ) -> Result<::js_sys::Promise, JsValue>; 403 #[cfg(feature = "Blob")] 404 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 405 #[doc = "The `createImageBitmap()` method."] 406 #[doc = ""] 407 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 408 #[doc = ""] 409 #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*"] create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &Blob, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>410 pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 411 this: &WorkerGlobalScope, 412 a_image: &Blob, 413 a_sx: i32, 414 a_sy: i32, 415 a_sw: i32, 416 a_sh: i32, 417 ) -> Result<::js_sys::Promise, JsValue>; 418 #[cfg(feature = "ImageData")] 419 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 420 #[doc = "The `createImageBitmap()` method."] 421 #[doc = ""] 422 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 423 #[doc = ""] 424 #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*"] create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &ImageData, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>425 pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 426 this: &WorkerGlobalScope, 427 a_image: &ImageData, 428 a_sx: i32, 429 a_sy: i32, 430 a_sw: i32, 431 a_sh: i32, 432 ) -> Result<::js_sys::Promise, JsValue>; 433 #[cfg(feature = "CanvasRenderingContext2d")] 434 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 435 #[doc = "The `createImageBitmap()` method."] 436 #[doc = ""] 437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 438 #[doc = ""] 439 #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `WorkerGlobalScope`*"] create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &CanvasRenderingContext2d, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>440 pub fn create_image_bitmap_with_canvas_rendering_context_2d_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 441 this: &WorkerGlobalScope, 442 a_image: &CanvasRenderingContext2d, 443 a_sx: i32, 444 a_sy: i32, 445 a_sw: i32, 446 a_sh: i32, 447 ) -> Result<::js_sys::Promise, JsValue>; 448 #[cfg(feature = "ImageBitmap")] 449 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 450 #[doc = "The `createImageBitmap()` method."] 451 #[doc = ""] 452 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 453 #[doc = ""] 454 #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*"] create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &ImageBitmap, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>455 pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 456 this: &WorkerGlobalScope, 457 a_image: &ImageBitmap, 458 a_sx: i32, 459 a_sy: i32, 460 a_sw: i32, 461 a_sh: i32, 462 ) -> Result<::js_sys::Promise, JsValue>; 463 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 464 #[doc = "The `createImageBitmap()` method."] 465 #[doc = ""] 466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 467 #[doc = ""] 468 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &::js_sys::Object, a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>469 pub fn create_image_bitmap_with_buffer_source_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 470 this: &WorkerGlobalScope, 471 a_image: &::js_sys::Object, 472 a_sx: i32, 473 a_sy: i32, 474 a_sw: i32, 475 a_sh: i32, 476 ) -> Result<::js_sys::Promise, JsValue>; 477 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] 478 #[doc = "The `createImageBitmap()` method."] 479 #[doc = ""] 480 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)"] 481 #[doc = ""] 482 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh( this: &WorkerGlobalScope, a_image: &mut [u8], a_sx: i32, a_sy: i32, a_sw: i32, a_sh: i32, ) -> Result<::js_sys::Promise, JsValue>483 pub fn create_image_bitmap_with_u8_array_and_a_sx_and_a_sy_and_a_sw_and_a_sh( 484 this: &WorkerGlobalScope, 485 a_image: &mut [u8], 486 a_sx: i32, 487 a_sy: i32, 488 a_sw: i32, 489 a_sh: i32, 490 ) -> Result<::js_sys::Promise, JsValue>; 491 #[cfg(feature = "Request")] 492 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] 493 #[doc = "The `fetch()` method."] 494 #[doc = ""] 495 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"] 496 #[doc = ""] 497 #[doc = "*This API requires the following crate features to be activated: `Request`, `WorkerGlobalScope`*"] fetch_with_request(this: &WorkerGlobalScope, input: &Request) -> ::js_sys::Promise498 pub fn fetch_with_request(this: &WorkerGlobalScope, input: &Request) -> ::js_sys::Promise; 499 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] 500 #[doc = "The `fetch()` method."] 501 #[doc = ""] 502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"] 503 #[doc = ""] 504 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] fetch_with_str(this: &WorkerGlobalScope, input: &str) -> ::js_sys::Promise505 pub fn fetch_with_str(this: &WorkerGlobalScope, input: &str) -> ::js_sys::Promise; 506 #[cfg(all(feature = "Request", feature = "RequestInit",))] 507 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] 508 #[doc = "The `fetch()` method."] 509 #[doc = ""] 510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"] 511 #[doc = ""] 512 #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `WorkerGlobalScope`*"] fetch_with_request_and_init( this: &WorkerGlobalScope, input: &Request, init: &RequestInit, ) -> ::js_sys::Promise513 pub fn fetch_with_request_and_init( 514 this: &WorkerGlobalScope, 515 input: &Request, 516 init: &RequestInit, 517 ) -> ::js_sys::Promise; 518 #[cfg(feature = "RequestInit")] 519 # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] 520 #[doc = "The `fetch()` method."] 521 #[doc = ""] 522 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)"] 523 #[doc = ""] 524 #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `WorkerGlobalScope`*"] fetch_with_str_and_init( this: &WorkerGlobalScope, input: &str, init: &RequestInit, ) -> ::js_sys::Promise525 pub fn fetch_with_str_and_init( 526 this: &WorkerGlobalScope, 527 input: &str, 528 init: &RequestInit, 529 ) -> ::js_sys::Promise; 530 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 531 #[doc = "The `setInterval()` method."] 532 #[doc = ""] 533 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 534 #[doc = ""] 535 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback( this: &WorkerGlobalScope, handler: &::js_sys::Function, ) -> Result<i32, JsValue>536 pub fn set_interval_with_callback( 537 this: &WorkerGlobalScope, 538 handler: &::js_sys::Function, 539 ) -> Result<i32, JsValue>; 540 # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)] 541 #[doc = "The `setInterval()` method."] 542 #[doc = ""] 543 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 544 #[doc = ""] 545 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments: &::js_sys::Array, ) -> Result<i32, JsValue>546 pub fn set_interval_with_callback_and_timeout_and_arguments( 547 this: &WorkerGlobalScope, 548 handler: &::js_sys::Function, 549 timeout: i32, 550 arguments: &::js_sys::Array, 551 ) -> Result<i32, JsValue>; 552 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 553 #[doc = "The `setInterval()` method."] 554 #[doc = ""] 555 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 556 #[doc = ""] 557 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_0( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, ) -> Result<i32, JsValue>558 pub fn set_interval_with_callback_and_timeout_and_arguments_0( 559 this: &WorkerGlobalScope, 560 handler: &::js_sys::Function, 561 timeout: i32, 562 ) -> Result<i32, JsValue>; 563 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 564 #[doc = "The `setInterval()` method."] 565 #[doc = ""] 566 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 567 #[doc = ""] 568 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_1( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>569 pub fn set_interval_with_callback_and_timeout_and_arguments_1( 570 this: &WorkerGlobalScope, 571 handler: &::js_sys::Function, 572 timeout: i32, 573 arguments_1: &::wasm_bindgen::JsValue, 574 ) -> Result<i32, JsValue>; 575 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 576 #[doc = "The `setInterval()` method."] 577 #[doc = ""] 578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 579 #[doc = ""] 580 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_2( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>581 pub fn set_interval_with_callback_and_timeout_and_arguments_2( 582 this: &WorkerGlobalScope, 583 handler: &::js_sys::Function, 584 timeout: i32, 585 arguments_1: &::wasm_bindgen::JsValue, 586 arguments_2: &::wasm_bindgen::JsValue, 587 ) -> Result<i32, JsValue>; 588 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 589 #[doc = "The `setInterval()` method."] 590 #[doc = ""] 591 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 592 #[doc = ""] 593 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_3( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>594 pub fn set_interval_with_callback_and_timeout_and_arguments_3( 595 this: &WorkerGlobalScope, 596 handler: &::js_sys::Function, 597 timeout: i32, 598 arguments_1: &::wasm_bindgen::JsValue, 599 arguments_2: &::wasm_bindgen::JsValue, 600 arguments_3: &::wasm_bindgen::JsValue, 601 ) -> Result<i32, JsValue>; 602 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 603 #[doc = "The `setInterval()` method."] 604 #[doc = ""] 605 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 606 #[doc = ""] 607 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_4( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>608 pub fn set_interval_with_callback_and_timeout_and_arguments_4( 609 this: &WorkerGlobalScope, 610 handler: &::js_sys::Function, 611 timeout: i32, 612 arguments_1: &::wasm_bindgen::JsValue, 613 arguments_2: &::wasm_bindgen::JsValue, 614 arguments_3: &::wasm_bindgen::JsValue, 615 arguments_4: &::wasm_bindgen::JsValue, 616 ) -> Result<i32, JsValue>; 617 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 618 #[doc = "The `setInterval()` method."] 619 #[doc = ""] 620 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 621 #[doc = ""] 622 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_5( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>623 pub fn set_interval_with_callback_and_timeout_and_arguments_5( 624 this: &WorkerGlobalScope, 625 handler: &::js_sys::Function, 626 timeout: i32, 627 arguments_1: &::wasm_bindgen::JsValue, 628 arguments_2: &::wasm_bindgen::JsValue, 629 arguments_3: &::wasm_bindgen::JsValue, 630 arguments_4: &::wasm_bindgen::JsValue, 631 arguments_5: &::wasm_bindgen::JsValue, 632 ) -> Result<i32, JsValue>; 633 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 634 #[doc = "The `setInterval()` method."] 635 #[doc = ""] 636 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 637 #[doc = ""] 638 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_6( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>639 pub fn set_interval_with_callback_and_timeout_and_arguments_6( 640 this: &WorkerGlobalScope, 641 handler: &::js_sys::Function, 642 timeout: i32, 643 arguments_1: &::wasm_bindgen::JsValue, 644 arguments_2: &::wasm_bindgen::JsValue, 645 arguments_3: &::wasm_bindgen::JsValue, 646 arguments_4: &::wasm_bindgen::JsValue, 647 arguments_5: &::wasm_bindgen::JsValue, 648 arguments_6: &::wasm_bindgen::JsValue, 649 ) -> Result<i32, JsValue>; 650 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 651 #[doc = "The `setInterval()` method."] 652 #[doc = ""] 653 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 654 #[doc = ""] 655 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_callback_and_timeout_and_arguments_7( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>656 pub fn set_interval_with_callback_and_timeout_and_arguments_7( 657 this: &WorkerGlobalScope, 658 handler: &::js_sys::Function, 659 timeout: i32, 660 arguments_1: &::wasm_bindgen::JsValue, 661 arguments_2: &::wasm_bindgen::JsValue, 662 arguments_3: &::wasm_bindgen::JsValue, 663 arguments_4: &::wasm_bindgen::JsValue, 664 arguments_5: &::wasm_bindgen::JsValue, 665 arguments_6: &::wasm_bindgen::JsValue, 666 arguments_7: &::wasm_bindgen::JsValue, 667 ) -> Result<i32, JsValue>; 668 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 669 #[doc = "The `setInterval()` method."] 670 #[doc = ""] 671 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 672 #[doc = ""] 673 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>674 pub fn set_interval_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; 675 # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)] 676 #[doc = "The `setInterval()` method."] 677 #[doc = ""] 678 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 679 #[doc = ""] 680 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused: &::js_sys::Array, ) -> Result<i32, JsValue>681 pub fn set_interval_with_str_and_timeout_and_unused( 682 this: &WorkerGlobalScope, 683 handler: &str, 684 timeout: i32, 685 unused: &::js_sys::Array, 686 ) -> Result<i32, JsValue>; 687 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 688 #[doc = "The `setInterval()` method."] 689 #[doc = ""] 690 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 691 #[doc = ""] 692 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_0( this: &WorkerGlobalScope, handler: &str, timeout: i32, ) -> Result<i32, JsValue>693 pub fn set_interval_with_str_and_timeout_and_unused_0( 694 this: &WorkerGlobalScope, 695 handler: &str, 696 timeout: i32, 697 ) -> Result<i32, JsValue>; 698 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 699 #[doc = "The `setInterval()` method."] 700 #[doc = ""] 701 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 702 #[doc = ""] 703 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_1( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>704 pub fn set_interval_with_str_and_timeout_and_unused_1( 705 this: &WorkerGlobalScope, 706 handler: &str, 707 timeout: i32, 708 unused_1: &::wasm_bindgen::JsValue, 709 ) -> Result<i32, JsValue>; 710 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 711 #[doc = "The `setInterval()` method."] 712 #[doc = ""] 713 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 714 #[doc = ""] 715 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_2( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>716 pub fn set_interval_with_str_and_timeout_and_unused_2( 717 this: &WorkerGlobalScope, 718 handler: &str, 719 timeout: i32, 720 unused_1: &::wasm_bindgen::JsValue, 721 unused_2: &::wasm_bindgen::JsValue, 722 ) -> Result<i32, JsValue>; 723 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 724 #[doc = "The `setInterval()` method."] 725 #[doc = ""] 726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 727 #[doc = ""] 728 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_3( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>729 pub fn set_interval_with_str_and_timeout_and_unused_3( 730 this: &WorkerGlobalScope, 731 handler: &str, 732 timeout: i32, 733 unused_1: &::wasm_bindgen::JsValue, 734 unused_2: &::wasm_bindgen::JsValue, 735 unused_3: &::wasm_bindgen::JsValue, 736 ) -> Result<i32, JsValue>; 737 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 738 #[doc = "The `setInterval()` method."] 739 #[doc = ""] 740 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 741 #[doc = ""] 742 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_4( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>743 pub fn set_interval_with_str_and_timeout_and_unused_4( 744 this: &WorkerGlobalScope, 745 handler: &str, 746 timeout: i32, 747 unused_1: &::wasm_bindgen::JsValue, 748 unused_2: &::wasm_bindgen::JsValue, 749 unused_3: &::wasm_bindgen::JsValue, 750 unused_4: &::wasm_bindgen::JsValue, 751 ) -> Result<i32, JsValue>; 752 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 753 #[doc = "The `setInterval()` method."] 754 #[doc = ""] 755 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 756 #[doc = ""] 757 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_5( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>758 pub fn set_interval_with_str_and_timeout_and_unused_5( 759 this: &WorkerGlobalScope, 760 handler: &str, 761 timeout: i32, 762 unused_1: &::wasm_bindgen::JsValue, 763 unused_2: &::wasm_bindgen::JsValue, 764 unused_3: &::wasm_bindgen::JsValue, 765 unused_4: &::wasm_bindgen::JsValue, 766 unused_5: &::wasm_bindgen::JsValue, 767 ) -> Result<i32, JsValue>; 768 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 769 #[doc = "The `setInterval()` method."] 770 #[doc = ""] 771 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 772 #[doc = ""] 773 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_6( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>774 pub fn set_interval_with_str_and_timeout_and_unused_6( 775 this: &WorkerGlobalScope, 776 handler: &str, 777 timeout: i32, 778 unused_1: &::wasm_bindgen::JsValue, 779 unused_2: &::wasm_bindgen::JsValue, 780 unused_3: &::wasm_bindgen::JsValue, 781 unused_4: &::wasm_bindgen::JsValue, 782 unused_5: &::wasm_bindgen::JsValue, 783 unused_6: &::wasm_bindgen::JsValue, 784 ) -> Result<i32, JsValue>; 785 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] 786 #[doc = "The `setInterval()` method."] 787 #[doc = ""] 788 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)"] 789 #[doc = ""] 790 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_interval_with_str_and_timeout_and_unused_7( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, unused_7: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>791 pub fn set_interval_with_str_and_timeout_and_unused_7( 792 this: &WorkerGlobalScope, 793 handler: &str, 794 timeout: i32, 795 unused_1: &::wasm_bindgen::JsValue, 796 unused_2: &::wasm_bindgen::JsValue, 797 unused_3: &::wasm_bindgen::JsValue, 798 unused_4: &::wasm_bindgen::JsValue, 799 unused_5: &::wasm_bindgen::JsValue, 800 unused_6: &::wasm_bindgen::JsValue, 801 unused_7: &::wasm_bindgen::JsValue, 802 ) -> Result<i32, JsValue>; 803 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 804 #[doc = "The `setTimeout()` method."] 805 #[doc = ""] 806 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 807 #[doc = ""] 808 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback( this: &WorkerGlobalScope, handler: &::js_sys::Function, ) -> Result<i32, JsValue>809 pub fn set_timeout_with_callback( 810 this: &WorkerGlobalScope, 811 handler: &::js_sys::Function, 812 ) -> Result<i32, JsValue>; 813 # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 814 #[doc = "The `setTimeout()` method."] 815 #[doc = ""] 816 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 817 #[doc = ""] 818 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments: &::js_sys::Array, ) -> Result<i32, JsValue>819 pub fn set_timeout_with_callback_and_timeout_and_arguments( 820 this: &WorkerGlobalScope, 821 handler: &::js_sys::Function, 822 timeout: i32, 823 arguments: &::js_sys::Array, 824 ) -> Result<i32, JsValue>; 825 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 826 #[doc = "The `setTimeout()` method."] 827 #[doc = ""] 828 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 829 #[doc = ""] 830 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_0( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, ) -> Result<i32, JsValue>831 pub fn set_timeout_with_callback_and_timeout_and_arguments_0( 832 this: &WorkerGlobalScope, 833 handler: &::js_sys::Function, 834 timeout: i32, 835 ) -> Result<i32, JsValue>; 836 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 837 #[doc = "The `setTimeout()` method."] 838 #[doc = ""] 839 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 840 #[doc = ""] 841 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_1( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>842 pub fn set_timeout_with_callback_and_timeout_and_arguments_1( 843 this: &WorkerGlobalScope, 844 handler: &::js_sys::Function, 845 timeout: i32, 846 arguments_1: &::wasm_bindgen::JsValue, 847 ) -> Result<i32, JsValue>; 848 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 849 #[doc = "The `setTimeout()` method."] 850 #[doc = ""] 851 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 852 #[doc = ""] 853 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_2( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>854 pub fn set_timeout_with_callback_and_timeout_and_arguments_2( 855 this: &WorkerGlobalScope, 856 handler: &::js_sys::Function, 857 timeout: i32, 858 arguments_1: &::wasm_bindgen::JsValue, 859 arguments_2: &::wasm_bindgen::JsValue, 860 ) -> Result<i32, JsValue>; 861 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 862 #[doc = "The `setTimeout()` method."] 863 #[doc = ""] 864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 865 #[doc = ""] 866 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_3( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>867 pub fn set_timeout_with_callback_and_timeout_and_arguments_3( 868 this: &WorkerGlobalScope, 869 handler: &::js_sys::Function, 870 timeout: i32, 871 arguments_1: &::wasm_bindgen::JsValue, 872 arguments_2: &::wasm_bindgen::JsValue, 873 arguments_3: &::wasm_bindgen::JsValue, 874 ) -> Result<i32, JsValue>; 875 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 876 #[doc = "The `setTimeout()` method."] 877 #[doc = ""] 878 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 879 #[doc = ""] 880 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_4( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>881 pub fn set_timeout_with_callback_and_timeout_and_arguments_4( 882 this: &WorkerGlobalScope, 883 handler: &::js_sys::Function, 884 timeout: i32, 885 arguments_1: &::wasm_bindgen::JsValue, 886 arguments_2: &::wasm_bindgen::JsValue, 887 arguments_3: &::wasm_bindgen::JsValue, 888 arguments_4: &::wasm_bindgen::JsValue, 889 ) -> Result<i32, JsValue>; 890 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 891 #[doc = "The `setTimeout()` method."] 892 #[doc = ""] 893 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 894 #[doc = ""] 895 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_5( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>896 pub fn set_timeout_with_callback_and_timeout_and_arguments_5( 897 this: &WorkerGlobalScope, 898 handler: &::js_sys::Function, 899 timeout: i32, 900 arguments_1: &::wasm_bindgen::JsValue, 901 arguments_2: &::wasm_bindgen::JsValue, 902 arguments_3: &::wasm_bindgen::JsValue, 903 arguments_4: &::wasm_bindgen::JsValue, 904 arguments_5: &::wasm_bindgen::JsValue, 905 ) -> Result<i32, JsValue>; 906 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 907 #[doc = "The `setTimeout()` method."] 908 #[doc = ""] 909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 910 #[doc = ""] 911 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_6( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>912 pub fn set_timeout_with_callback_and_timeout_and_arguments_6( 913 this: &WorkerGlobalScope, 914 handler: &::js_sys::Function, 915 timeout: i32, 916 arguments_1: &::wasm_bindgen::JsValue, 917 arguments_2: &::wasm_bindgen::JsValue, 918 arguments_3: &::wasm_bindgen::JsValue, 919 arguments_4: &::wasm_bindgen::JsValue, 920 arguments_5: &::wasm_bindgen::JsValue, 921 arguments_6: &::wasm_bindgen::JsValue, 922 ) -> Result<i32, JsValue>; 923 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 924 #[doc = "The `setTimeout()` method."] 925 #[doc = ""] 926 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 927 #[doc = ""] 928 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_callback_and_timeout_and_arguments_7( this: &WorkerGlobalScope, handler: &::js_sys::Function, timeout: i32, arguments_1: &::wasm_bindgen::JsValue, arguments_2: &::wasm_bindgen::JsValue, arguments_3: &::wasm_bindgen::JsValue, arguments_4: &::wasm_bindgen::JsValue, arguments_5: &::wasm_bindgen::JsValue, arguments_6: &::wasm_bindgen::JsValue, arguments_7: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>929 pub fn set_timeout_with_callback_and_timeout_and_arguments_7( 930 this: &WorkerGlobalScope, 931 handler: &::js_sys::Function, 932 timeout: i32, 933 arguments_1: &::wasm_bindgen::JsValue, 934 arguments_2: &::wasm_bindgen::JsValue, 935 arguments_3: &::wasm_bindgen::JsValue, 936 arguments_4: &::wasm_bindgen::JsValue, 937 arguments_5: &::wasm_bindgen::JsValue, 938 arguments_6: &::wasm_bindgen::JsValue, 939 arguments_7: &::wasm_bindgen::JsValue, 940 ) -> Result<i32, JsValue>; 941 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 942 #[doc = "The `setTimeout()` method."] 943 #[doc = ""] 944 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 945 #[doc = ""] 946 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>947 pub fn set_timeout_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; 948 # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 949 #[doc = "The `setTimeout()` method."] 950 #[doc = ""] 951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 952 #[doc = ""] 953 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused: &::js_sys::Array, ) -> Result<i32, JsValue>954 pub fn set_timeout_with_str_and_timeout_and_unused( 955 this: &WorkerGlobalScope, 956 handler: &str, 957 timeout: i32, 958 unused: &::js_sys::Array, 959 ) -> Result<i32, JsValue>; 960 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 961 #[doc = "The `setTimeout()` method."] 962 #[doc = ""] 963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 964 #[doc = ""] 965 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_0( this: &WorkerGlobalScope, handler: &str, timeout: i32, ) -> Result<i32, JsValue>966 pub fn set_timeout_with_str_and_timeout_and_unused_0( 967 this: &WorkerGlobalScope, 968 handler: &str, 969 timeout: i32, 970 ) -> Result<i32, JsValue>; 971 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 972 #[doc = "The `setTimeout()` method."] 973 #[doc = ""] 974 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 975 #[doc = ""] 976 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_1( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>977 pub fn set_timeout_with_str_and_timeout_and_unused_1( 978 this: &WorkerGlobalScope, 979 handler: &str, 980 timeout: i32, 981 unused_1: &::wasm_bindgen::JsValue, 982 ) -> Result<i32, JsValue>; 983 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 984 #[doc = "The `setTimeout()` method."] 985 #[doc = ""] 986 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 987 #[doc = ""] 988 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_2( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>989 pub fn set_timeout_with_str_and_timeout_and_unused_2( 990 this: &WorkerGlobalScope, 991 handler: &str, 992 timeout: i32, 993 unused_1: &::wasm_bindgen::JsValue, 994 unused_2: &::wasm_bindgen::JsValue, 995 ) -> Result<i32, JsValue>; 996 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 997 #[doc = "The `setTimeout()` method."] 998 #[doc = ""] 999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 1000 #[doc = ""] 1001 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_3( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>1002 pub fn set_timeout_with_str_and_timeout_and_unused_3( 1003 this: &WorkerGlobalScope, 1004 handler: &str, 1005 timeout: i32, 1006 unused_1: &::wasm_bindgen::JsValue, 1007 unused_2: &::wasm_bindgen::JsValue, 1008 unused_3: &::wasm_bindgen::JsValue, 1009 ) -> Result<i32, JsValue>; 1010 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 1011 #[doc = "The `setTimeout()` method."] 1012 #[doc = ""] 1013 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 1014 #[doc = ""] 1015 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_4( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>1016 pub fn set_timeout_with_str_and_timeout_and_unused_4( 1017 this: &WorkerGlobalScope, 1018 handler: &str, 1019 timeout: i32, 1020 unused_1: &::wasm_bindgen::JsValue, 1021 unused_2: &::wasm_bindgen::JsValue, 1022 unused_3: &::wasm_bindgen::JsValue, 1023 unused_4: &::wasm_bindgen::JsValue, 1024 ) -> Result<i32, JsValue>; 1025 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 1026 #[doc = "The `setTimeout()` method."] 1027 #[doc = ""] 1028 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 1029 #[doc = ""] 1030 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_5( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>1031 pub fn set_timeout_with_str_and_timeout_and_unused_5( 1032 this: &WorkerGlobalScope, 1033 handler: &str, 1034 timeout: i32, 1035 unused_1: &::wasm_bindgen::JsValue, 1036 unused_2: &::wasm_bindgen::JsValue, 1037 unused_3: &::wasm_bindgen::JsValue, 1038 unused_4: &::wasm_bindgen::JsValue, 1039 unused_5: &::wasm_bindgen::JsValue, 1040 ) -> Result<i32, JsValue>; 1041 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 1042 #[doc = "The `setTimeout()` method."] 1043 #[doc = ""] 1044 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 1045 #[doc = ""] 1046 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_6( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>1047 pub fn set_timeout_with_str_and_timeout_and_unused_6( 1048 this: &WorkerGlobalScope, 1049 handler: &str, 1050 timeout: i32, 1051 unused_1: &::wasm_bindgen::JsValue, 1052 unused_2: &::wasm_bindgen::JsValue, 1053 unused_3: &::wasm_bindgen::JsValue, 1054 unused_4: &::wasm_bindgen::JsValue, 1055 unused_5: &::wasm_bindgen::JsValue, 1056 unused_6: &::wasm_bindgen::JsValue, 1057 ) -> Result<i32, JsValue>; 1058 # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] 1059 #[doc = "The `setTimeout()` method."] 1060 #[doc = ""] 1061 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)"] 1062 #[doc = ""] 1063 #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*"] set_timeout_with_str_and_timeout_and_unused_7( this: &WorkerGlobalScope, handler: &str, timeout: i32, unused_1: &::wasm_bindgen::JsValue, unused_2: &::wasm_bindgen::JsValue, unused_3: &::wasm_bindgen::JsValue, unused_4: &::wasm_bindgen::JsValue, unused_5: &::wasm_bindgen::JsValue, unused_6: &::wasm_bindgen::JsValue, unused_7: &::wasm_bindgen::JsValue, ) -> Result<i32, JsValue>1064 pub fn set_timeout_with_str_and_timeout_and_unused_7( 1065 this: &WorkerGlobalScope, 1066 handler: &str, 1067 timeout: i32, 1068 unused_1: &::wasm_bindgen::JsValue, 1069 unused_2: &::wasm_bindgen::JsValue, 1070 unused_3: &::wasm_bindgen::JsValue, 1071 unused_4: &::wasm_bindgen::JsValue, 1072 unused_5: &::wasm_bindgen::JsValue, 1073 unused_6: &::wasm_bindgen::JsValue, 1074 unused_7: &::wasm_bindgen::JsValue, 1075 ) -> Result<i32, JsValue>; 1076 } 1077