| 1 | #![allow (unused_imports)] |
| 2 | #![allow (clippy::all)] |
| 3 | use super::*; |
| 4 | use wasm_bindgen::prelude::*; |
| 5 | #[wasm_bindgen ] |
| 6 | unsafeextern "C" { |
| 7 | # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = WorkerGlobalScope , typescript_type = "WorkerGlobalScope" )] |
| 8 | #[derive (Debug, Clone, PartialEq, Eq)] |
| 9 | #[doc = "The `WorkerGlobalScope` class." ] |
| 10 | #[doc = "" ] |
| 11 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope)" ] |
| 12 | #[doc = "" ] |
| 13 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 14 | pub type WorkerGlobalScope; |
| 15 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = self)] |
| 16 | #[doc = "Getter for the `self` field of this object." ] |
| 17 | #[doc = "" ] |
| 18 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self)" ] |
| 19 | #[doc = "" ] |
| 20 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 21 | pub unsafefn self_(this: &WorkerGlobalScope) -> WorkerGlobalScope; |
| 22 | #[cfg (feature = "WorkerLocation" )] |
| 23 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = location)] |
| 24 | #[doc = "Getter for the `location` field of this object." ] |
| 25 | #[doc = "" ] |
| 26 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/location)" ] |
| 27 | #[doc = "" ] |
| 28 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerLocation`*" ] |
| 29 | pub fn location(this: &WorkerGlobalScope) -> WorkerLocation; |
| 30 | #[cfg (feature = "WorkerNavigator" )] |
| 31 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = navigator)] |
| 32 | #[doc = "Getter for the `navigator` field of this object." ] |
| 33 | #[doc = "" ] |
| 34 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator)" ] |
| 35 | #[doc = "" ] |
| 36 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`, `WorkerNavigator`*" ] |
| 37 | pub fn navigator(this: &WorkerGlobalScope) -> WorkerNavigator; |
| 38 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onerror)] |
| 39 | #[doc = "Getter for the `onerror` field of this object." ] |
| 40 | #[doc = "" ] |
| 41 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)" ] |
| 42 | #[doc = "" ] |
| 43 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 44 | pub unsafefn onerror(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; |
| 45 | # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onerror)] |
| 46 | #[doc = "Setter for the `onerror` field of this object." ] |
| 47 | #[doc = "" ] |
| 48 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onerror)" ] |
| 49 | #[doc = "" ] |
| 50 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 51 | pub unsafefn set_onerror(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); |
| 52 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = onoffline)] |
| 53 | #[doc = "Getter for the `onoffline` field of this object." ] |
| 54 | #[doc = "" ] |
| 55 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)" ] |
| 56 | #[doc = "" ] |
| 57 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 58 | pub unsafefn onoffline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; |
| 59 | # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = onoffline)] |
| 60 | #[doc = "Setter for the `onoffline` field of this object." ] |
| 61 | #[doc = "" ] |
| 62 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/onoffline)" ] |
| 63 | #[doc = "" ] |
| 64 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 65 | pub unsafefn set_onoffline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); |
| 66 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = ononline)] |
| 67 | #[doc = "Getter for the `ononline` field of this object." ] |
| 68 | #[doc = "" ] |
| 69 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)" ] |
| 70 | #[doc = "" ] |
| 71 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 72 | pub unsafefn ononline(this: &WorkerGlobalScope) -> Option<::js_sys::Function>; |
| 73 | # [wasm_bindgen (structural , method , setter , js_class = "WorkerGlobalScope" , js_name = ononline)] |
| 74 | #[doc = "Setter for the `ononline` field of this object." ] |
| 75 | #[doc = "" ] |
| 76 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/ononline)" ] |
| 77 | #[doc = "" ] |
| 78 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 79 | pub unsafefn set_ononline(this: &WorkerGlobalScope, value: Option<&::js_sys::Function>); |
| 80 | #[cfg (feature = "Crypto" )] |
| 81 | # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = crypto)] |
| 82 | #[doc = "Getter for the `crypto` field of this object." ] |
| 83 | #[doc = "" ] |
| 84 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/crypto)" ] |
| 85 | #[doc = "" ] |
| 86 | #[doc = "*This API requires the following crate features to be activated: `Crypto`, `WorkerGlobalScope`*" ] |
| 87 | pub fn crypto(this: &WorkerGlobalScope) -> Result<Crypto, JsValue>; |
| 88 | #[cfg (feature = "IdbFactory" )] |
| 89 | # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = indexedDB)] |
| 90 | #[doc = "Getter for the `indexedDB` field of this object." ] |
| 91 | #[doc = "" ] |
| 92 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)" ] |
| 93 | #[doc = "" ] |
| 94 | #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*" ] |
| 95 | pub fn indexed_db(this: &WorkerGlobalScope) -> Result<Option<IdbFactory>, JsValue>; |
| 96 | #[cfg (feature = "Performance" )] |
| 97 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = performance)] |
| 98 | #[doc = "Getter for the `performance` field of this object." ] |
| 99 | #[doc = "" ] |
| 100 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/performance)" ] |
| 101 | #[doc = "" ] |
| 102 | #[doc = "*This API requires the following crate features to be activated: `Performance`, `WorkerGlobalScope`*" ] |
| 103 | pub fn performance(this: &WorkerGlobalScope) -> Option<Performance>; |
| 104 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = origin)] |
| 105 | #[doc = "Getter for the `origin` field of this object." ] |
| 106 | #[doc = "" ] |
| 107 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)" ] |
| 108 | #[doc = "" ] |
| 109 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 110 | pub unsafefn origin(this: &WorkerGlobalScope) -> ::alloc::string::String; |
| 111 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = isSecureContext)] |
| 112 | #[doc = "Getter for the `isSecureContext` field of this object." ] |
| 113 | #[doc = "" ] |
| 114 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)" ] |
| 115 | #[doc = "" ] |
| 116 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 117 | pub unsafefn is_secure_context(this: &WorkerGlobalScope) -> bool; |
| 118 | #[cfg (feature = "CacheStorage" )] |
| 119 | # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = caches)] |
| 120 | #[doc = "Getter for the `caches` field of this object." ] |
| 121 | #[doc = "" ] |
| 122 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/caches)" ] |
| 123 | #[doc = "" ] |
| 124 | #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `WorkerGlobalScope`*" ] |
| 125 | pub fn caches(this: &WorkerGlobalScope) -> Result<CacheStorage, JsValue>; |
| 126 | #[cfg (web_sys_unstable_apis)] |
| 127 | #[cfg (feature = "Scheduler" )] |
| 128 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = scheduler)] |
| 129 | #[doc = "Getter for the `scheduler` field of this object." ] |
| 130 | #[doc = "" ] |
| 131 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/scheduler)" ] |
| 132 | #[doc = "" ] |
| 133 | #[doc = "*This API requires the following crate features to be activated: `Scheduler`, `WorkerGlobalScope`*" ] |
| 134 | #[doc = "" ] |
| 135 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 136 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 137 | pub fn scheduler(this: &WorkerGlobalScope) -> Scheduler; |
| 138 | # [wasm_bindgen (catch , method , structural , variadic , 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`*" ] |
| 144 | pub unsafefn import_scripts(this: &WorkerGlobalScope, urls: &::js_sys::Array) -> Result<(), JsValue>; |
| 145 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 146 | #[doc = "The `importScripts()` method." ] |
| 147 | #[doc = "" ] |
| 148 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 149 | #[doc = "" ] |
| 150 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 151 | pub unsafefn import_scripts_0(this: &WorkerGlobalScope) -> Result<(), JsValue>; |
| 152 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 153 | #[doc = "The `importScripts()` method." ] |
| 154 | #[doc = "" ] |
| 155 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 156 | #[doc = "" ] |
| 157 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 158 | pub unsafefn import_scripts_1(this: &WorkerGlobalScope, urls_1: &str) -> Result<(), JsValue>; |
| 159 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 160 | #[doc = "The `importScripts()` method." ] |
| 161 | #[doc = "" ] |
| 162 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 163 | #[doc = "" ] |
| 164 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 165 | pub unsafefn import_scripts_2( |
| 166 | this: &WorkerGlobalScope, |
| 167 | urls_1: &str, |
| 168 | urls_2: &str, |
| 169 | ) -> Result<(), JsValue>; |
| 170 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 171 | #[doc = "The `importScripts()` method." ] |
| 172 | #[doc = "" ] |
| 173 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 174 | #[doc = "" ] |
| 175 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 176 | pub unsafefn import_scripts_3( |
| 177 | this: &WorkerGlobalScope, |
| 178 | urls_1: &str, |
| 179 | urls_2: &str, |
| 180 | urls_3: &str, |
| 181 | ) -> Result<(), JsValue>; |
| 182 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 183 | #[doc = "The `importScripts()` method." ] |
| 184 | #[doc = "" ] |
| 185 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 186 | #[doc = "" ] |
| 187 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 188 | pub unsafefn import_scripts_4( |
| 189 | this: &WorkerGlobalScope, |
| 190 | urls_1: &str, |
| 191 | urls_2: &str, |
| 192 | urls_3: &str, |
| 193 | urls_4: &str, |
| 194 | ) -> Result<(), JsValue>; |
| 195 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 196 | #[doc = "The `importScripts()` method." ] |
| 197 | #[doc = "" ] |
| 198 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 199 | #[doc = "" ] |
| 200 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 201 | pub unsafefn import_scripts_5( |
| 202 | this: &WorkerGlobalScope, |
| 203 | urls_1: &str, |
| 204 | urls_2: &str, |
| 205 | urls_3: &str, |
| 206 | urls_4: &str, |
| 207 | urls_5: &str, |
| 208 | ) -> Result<(), JsValue>; |
| 209 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 210 | #[doc = "The `importScripts()` method." ] |
| 211 | #[doc = "" ] |
| 212 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 213 | #[doc = "" ] |
| 214 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 215 | pub unsafefn import_scripts_6( |
| 216 | this: &WorkerGlobalScope, |
| 217 | urls_1: &str, |
| 218 | urls_2: &str, |
| 219 | urls_3: &str, |
| 220 | urls_4: &str, |
| 221 | urls_5: &str, |
| 222 | urls_6: &str, |
| 223 | ) -> Result<(), JsValue>; |
| 224 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = importScripts)] |
| 225 | #[doc = "The `importScripts()` method." ] |
| 226 | #[doc = "" ] |
| 227 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/importScripts)" ] |
| 228 | #[doc = "" ] |
| 229 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 230 | pub unsafefn import_scripts_7( |
| 231 | this: &WorkerGlobalScope, |
| 232 | urls_1: &str, |
| 233 | urls_2: &str, |
| 234 | urls_3: &str, |
| 235 | urls_4: &str, |
| 236 | urls_5: &str, |
| 237 | urls_6: &str, |
| 238 | urls_7: &str, |
| 239 | ) -> Result<(), JsValue>; |
| 240 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = atob)] |
| 241 | #[doc = "The `atob()` method." ] |
| 242 | #[doc = "" ] |
| 243 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/atob)" ] |
| 244 | #[doc = "" ] |
| 245 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 246 | pub unsafefn atob(this: &WorkerGlobalScope, atob: &str) -> Result<::alloc::string::String, JsValue>; |
| 247 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = btoa)] |
| 248 | #[doc = "The `btoa()` method." ] |
| 249 | #[doc = "" ] |
| 250 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/btoa)" ] |
| 251 | #[doc = "" ] |
| 252 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 253 | pub unsafefn btoa(this: &WorkerGlobalScope, btoa: &str) -> Result<::alloc::string::String, JsValue>; |
| 254 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)] |
| 255 | #[doc = "The `clearInterval()` method." ] |
| 256 | #[doc = "" ] |
| 257 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)" ] |
| 258 | #[doc = "" ] |
| 259 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 260 | pub unsafefn clear_interval(this: &WorkerGlobalScope); |
| 261 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearInterval)] |
| 262 | #[doc = "The `clearInterval()` method." ] |
| 263 | #[doc = "" ] |
| 264 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearInterval)" ] |
| 265 | #[doc = "" ] |
| 266 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 267 | pub unsafefn clear_interval_with_handle(this: &WorkerGlobalScope, handle: i32); |
| 268 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)] |
| 269 | #[doc = "The `clearTimeout()` method." ] |
| 270 | #[doc = "" ] |
| 271 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)" ] |
| 272 | #[doc = "" ] |
| 273 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 274 | pub unsafefn clear_timeout(this: &WorkerGlobalScope); |
| 275 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = clearTimeout)] |
| 276 | #[doc = "The `clearTimeout()` method." ] |
| 277 | #[doc = "" ] |
| 278 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/clearTimeout)" ] |
| 279 | #[doc = "" ] |
| 280 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 281 | pub unsafefn clear_timeout_with_handle(this: &WorkerGlobalScope, handle: i32); |
| 282 | #[cfg (feature = "HtmlImageElement" )] |
| 283 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 284 | #[doc = "The `createImageBitmap()` method." ] |
| 285 | #[doc = "" ] |
| 286 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 287 | #[doc = "" ] |
| 288 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] |
| 289 | pub unsafefn create_image_bitmap_with_html_image_element( |
| 290 | this: &WorkerGlobalScope, |
| 291 | a_image: &HtmlImageElement, |
| 292 | ) -> Result<::js_sys::Promise, JsValue>; |
| 293 | #[cfg (feature = "SvgImageElement" )] |
| 294 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 295 | #[doc = "The `createImageBitmap()` method." ] |
| 296 | #[doc = "" ] |
| 297 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 298 | #[doc = "" ] |
| 299 | #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `WorkerGlobalScope`*" ] |
| 300 | pub fn create_image_bitmap_with_svg_image_element( |
| 301 | this: &WorkerGlobalScope, |
| 302 | a_image: &SvgImageElement, |
| 303 | ) -> Result<::js_sys::Promise, JsValue>; |
| 304 | #[cfg (feature = "HtmlCanvasElement" )] |
| 305 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 306 | #[doc = "The `createImageBitmap()` method." ] |
| 307 | #[doc = "" ] |
| 308 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 309 | #[doc = "" ] |
| 310 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] |
| 311 | pub unsafefn create_image_bitmap_with_html_canvas_element( |
| 312 | this: &WorkerGlobalScope, |
| 313 | a_image: &HtmlCanvasElement, |
| 314 | ) -> Result<::js_sys::Promise, JsValue>; |
| 315 | #[cfg (feature = "HtmlVideoElement" )] |
| 316 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 317 | #[doc = "The `createImageBitmap()` method." ] |
| 318 | #[doc = "" ] |
| 319 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 320 | #[doc = "" ] |
| 321 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] |
| 322 | pub unsafefn create_image_bitmap_with_html_video_element( |
| 323 | this: &WorkerGlobalScope, |
| 324 | a_image: &HtmlVideoElement, |
| 325 | ) -> Result<::js_sys::Promise, JsValue>; |
| 326 | #[cfg (feature = "ImageBitmap" )] |
| 327 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 328 | #[doc = "The `createImageBitmap()` method." ] |
| 329 | #[doc = "" ] |
| 330 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 331 | #[doc = "" ] |
| 332 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] |
| 333 | pub unsafefn create_image_bitmap_with_image_bitmap( |
| 334 | this: &WorkerGlobalScope, |
| 335 | a_image: &ImageBitmap, |
| 336 | ) -> Result<::js_sys::Promise, JsValue>; |
| 337 | #[cfg (feature = "OffscreenCanvas" )] |
| 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: `OffscreenCanvas`, `WorkerGlobalScope`*" ] |
| 344 | pub unsafefn create_image_bitmap_with_offscreen_canvas( |
| 345 | this: &WorkerGlobalScope, |
| 346 | a_image: &OffscreenCanvas, |
| 347 | ) -> Result<::js_sys::Promise, JsValue>; |
| 348 | #[cfg (web_sys_unstable_apis)] |
| 349 | #[cfg (feature = "VideoFrame" )] |
| 350 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 351 | #[doc = "The `createImageBitmap()` method." ] |
| 352 | #[doc = "" ] |
| 353 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 354 | #[doc = "" ] |
| 355 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WorkerGlobalScope`*" ] |
| 356 | #[doc = "" ] |
| 357 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 358 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 359 | pub fn create_image_bitmap_with_video_frame( |
| 360 | this: &WorkerGlobalScope, |
| 361 | a_image: &VideoFrame, |
| 362 | ) -> Result<::js_sys::Promise, JsValue>; |
| 363 | #[cfg (feature = "Blob" )] |
| 364 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 365 | #[doc = "The `createImageBitmap()` method." ] |
| 366 | #[doc = "" ] |
| 367 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 368 | #[doc = "" ] |
| 369 | #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] |
| 370 | pub unsafefn create_image_bitmap_with_blob( |
| 371 | this: &WorkerGlobalScope, |
| 372 | a_image: &Blob, |
| 373 | ) -> Result<::js_sys::Promise, JsValue>; |
| 374 | #[cfg (feature = "ImageData" )] |
| 375 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 376 | #[doc = "The `createImageBitmap()` method." ] |
| 377 | #[doc = "" ] |
| 378 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 379 | #[doc = "" ] |
| 380 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] |
| 381 | pub unsafefn create_image_bitmap_with_image_data( |
| 382 | this: &WorkerGlobalScope, |
| 383 | a_image: &ImageData, |
| 384 | ) -> Result<::js_sys::Promise, JsValue>; |
| 385 | #[cfg (all(feature = "HtmlImageElement" , feature = "ImageBitmapOptions" ,))] |
| 386 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 387 | #[doc = "The `createImageBitmap()` method." ] |
| 388 | #[doc = "" ] |
| 389 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 390 | #[doc = "" ] |
| 391 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 392 | pub unsafefn create_image_bitmap_with_html_image_element_and_image_bitmap_options( |
| 393 | this: &WorkerGlobalScope, |
| 394 | a_image: &HtmlImageElement, |
| 395 | a_options: &ImageBitmapOptions, |
| 396 | ) -> Result<::js_sys::Promise, JsValue>; |
| 397 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "SvgImageElement" ,))] |
| 398 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 399 | #[doc = "The `createImageBitmap()` method." ] |
| 400 | #[doc = "" ] |
| 401 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 402 | #[doc = "" ] |
| 403 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `WorkerGlobalScope`*" ] |
| 404 | pub fn create_image_bitmap_with_svg_image_element_and_image_bitmap_options( |
| 405 | this: &WorkerGlobalScope, |
| 406 | a_image: &SvgImageElement, |
| 407 | a_options: &ImageBitmapOptions, |
| 408 | ) -> Result<::js_sys::Promise, JsValue>; |
| 409 | #[cfg (all(feature = "HtmlCanvasElement" , feature = "ImageBitmapOptions" ,))] |
| 410 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 411 | #[doc = "The `createImageBitmap()` method." ] |
| 412 | #[doc = "" ] |
| 413 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 414 | #[doc = "" ] |
| 415 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 416 | pub unsafefn create_image_bitmap_with_html_canvas_element_and_image_bitmap_options( |
| 417 | this: &WorkerGlobalScope, |
| 418 | a_image: &HtmlCanvasElement, |
| 419 | a_options: &ImageBitmapOptions, |
| 420 | ) -> Result<::js_sys::Promise, JsValue>; |
| 421 | #[cfg (all(feature = "HtmlVideoElement" , feature = "ImageBitmapOptions" ,))] |
| 422 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 423 | #[doc = "The `createImageBitmap()` method." ] |
| 424 | #[doc = "" ] |
| 425 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 426 | #[doc = "" ] |
| 427 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 428 | pub unsafefn create_image_bitmap_with_html_video_element_and_image_bitmap_options( |
| 429 | this: &WorkerGlobalScope, |
| 430 | a_image: &HtmlVideoElement, |
| 431 | a_options: &ImageBitmapOptions, |
| 432 | ) -> Result<::js_sys::Promise, JsValue>; |
| 433 | #[cfg (all(feature = "ImageBitmap" , feature = "ImageBitmapOptions" ,))] |
| 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: `ImageBitmap`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 440 | pub unsafefn create_image_bitmap_with_image_bitmap_and_image_bitmap_options( |
| 441 | this: &WorkerGlobalScope, |
| 442 | a_image: &ImageBitmap, |
| 443 | a_options: &ImageBitmapOptions, |
| 444 | ) -> Result<::js_sys::Promise, JsValue>; |
| 445 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "OffscreenCanvas" ,))] |
| 446 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 447 | #[doc = "The `createImageBitmap()` method." ] |
| 448 | #[doc = "" ] |
| 449 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 450 | #[doc = "" ] |
| 451 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `WorkerGlobalScope`*" ] |
| 452 | pub unsafefn create_image_bitmap_with_offscreen_canvas_and_image_bitmap_options( |
| 453 | this: &WorkerGlobalScope, |
| 454 | a_image: &OffscreenCanvas, |
| 455 | a_options: &ImageBitmapOptions, |
| 456 | ) -> Result<::js_sys::Promise, JsValue>; |
| 457 | #[cfg (web_sys_unstable_apis)] |
| 458 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "VideoFrame" ,))] |
| 459 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 460 | #[doc = "The `createImageBitmap()` method." ] |
| 461 | #[doc = "" ] |
| 462 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 463 | #[doc = "" ] |
| 464 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `WorkerGlobalScope`*" ] |
| 465 | #[doc = "" ] |
| 466 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 467 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 468 | pub fn create_image_bitmap_with_video_frame_and_image_bitmap_options( |
| 469 | this: &WorkerGlobalScope, |
| 470 | a_image: &VideoFrame, |
| 471 | a_options: &ImageBitmapOptions, |
| 472 | ) -> Result<::js_sys::Promise, JsValue>; |
| 473 | #[cfg (all(feature = "Blob" , feature = "ImageBitmapOptions" ,))] |
| 474 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 475 | #[doc = "The `createImageBitmap()` method." ] |
| 476 | #[doc = "" ] |
| 477 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 478 | #[doc = "" ] |
| 479 | #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 480 | pub unsafefn create_image_bitmap_with_blob_and_image_bitmap_options( |
| 481 | this: &WorkerGlobalScope, |
| 482 | a_image: &Blob, |
| 483 | a_options: &ImageBitmapOptions, |
| 484 | ) -> Result<::js_sys::Promise, JsValue>; |
| 485 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "ImageData" ,))] |
| 486 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 487 | #[doc = "The `createImageBitmap()` method." ] |
| 488 | #[doc = "" ] |
| 489 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 490 | #[doc = "" ] |
| 491 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `WorkerGlobalScope`*" ] |
| 492 | pub unsafefn create_image_bitmap_with_image_data_and_image_bitmap_options( |
| 493 | this: &WorkerGlobalScope, |
| 494 | a_image: &ImageData, |
| 495 | a_options: &ImageBitmapOptions, |
| 496 | ) -> Result<::js_sys::Promise, JsValue>; |
| 497 | #[cfg (feature = "HtmlImageElement" )] |
| 498 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 499 | #[doc = "The `createImageBitmap()` method." ] |
| 500 | #[doc = "" ] |
| 501 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 502 | #[doc = "" ] |
| 503 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `WorkerGlobalScope`*" ] |
| 504 | pub unsafefn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 505 | this: &WorkerGlobalScope, |
| 506 | a_image: &HtmlImageElement, |
| 507 | a_sx: i32, |
| 508 | a_sy: i32, |
| 509 | a_sw: i32, |
| 510 | a_sh: i32, |
| 511 | ) -> Result<::js_sys::Promise, JsValue>; |
| 512 | #[cfg (feature = "SvgImageElement" )] |
| 513 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 514 | #[doc = "The `createImageBitmap()` method." ] |
| 515 | #[doc = "" ] |
| 516 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 517 | #[doc = "" ] |
| 518 | #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `WorkerGlobalScope`*" ] |
| 519 | pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 520 | this: &WorkerGlobalScope, |
| 521 | a_image: &SvgImageElement, |
| 522 | a_sx: i32, |
| 523 | a_sy: i32, |
| 524 | a_sw: i32, |
| 525 | a_sh: i32, |
| 526 | ) -> Result<::js_sys::Promise, JsValue>; |
| 527 | #[cfg (feature = "HtmlCanvasElement" )] |
| 528 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 529 | #[doc = "The `createImageBitmap()` method." ] |
| 530 | #[doc = "" ] |
| 531 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 532 | #[doc = "" ] |
| 533 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `WorkerGlobalScope`*" ] |
| 534 | pub unsafefn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 535 | this: &WorkerGlobalScope, |
| 536 | a_image: &HtmlCanvasElement, |
| 537 | a_sx: i32, |
| 538 | a_sy: i32, |
| 539 | a_sw: i32, |
| 540 | a_sh: i32, |
| 541 | ) -> Result<::js_sys::Promise, JsValue>; |
| 542 | #[cfg (feature = "HtmlVideoElement" )] |
| 543 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 544 | #[doc = "The `createImageBitmap()` method." ] |
| 545 | #[doc = "" ] |
| 546 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 547 | #[doc = "" ] |
| 548 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `WorkerGlobalScope`*" ] |
| 549 | pub unsafefn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 550 | this: &WorkerGlobalScope, |
| 551 | a_image: &HtmlVideoElement, |
| 552 | a_sx: i32, |
| 553 | a_sy: i32, |
| 554 | a_sw: i32, |
| 555 | a_sh: i32, |
| 556 | ) -> Result<::js_sys::Promise, JsValue>; |
| 557 | #[cfg (feature = "ImageBitmap" )] |
| 558 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 559 | #[doc = "The `createImageBitmap()` method." ] |
| 560 | #[doc = "" ] |
| 561 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 562 | #[doc = "" ] |
| 563 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `WorkerGlobalScope`*" ] |
| 564 | pub unsafefn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 565 | this: &WorkerGlobalScope, |
| 566 | a_image: &ImageBitmap, |
| 567 | a_sx: i32, |
| 568 | a_sy: i32, |
| 569 | a_sw: i32, |
| 570 | a_sh: i32, |
| 571 | ) -> Result<::js_sys::Promise, JsValue>; |
| 572 | #[cfg (feature = "OffscreenCanvas" )] |
| 573 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 574 | #[doc = "The `createImageBitmap()` method." ] |
| 575 | #[doc = "" ] |
| 576 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 577 | #[doc = "" ] |
| 578 | #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `WorkerGlobalScope`*" ] |
| 579 | pub unsafefn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 580 | this: &WorkerGlobalScope, |
| 581 | a_image: &OffscreenCanvas, |
| 582 | a_sx: i32, |
| 583 | a_sy: i32, |
| 584 | a_sw: i32, |
| 585 | a_sh: i32, |
| 586 | ) -> Result<::js_sys::Promise, JsValue>; |
| 587 | #[cfg (web_sys_unstable_apis)] |
| 588 | #[cfg (feature = "VideoFrame" )] |
| 589 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 590 | #[doc = "The `createImageBitmap()` method." ] |
| 591 | #[doc = "" ] |
| 592 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 593 | #[doc = "" ] |
| 594 | #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `WorkerGlobalScope`*" ] |
| 595 | #[doc = "" ] |
| 596 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 597 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 598 | pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 599 | this: &WorkerGlobalScope, |
| 600 | a_image: &VideoFrame, |
| 601 | a_sx: i32, |
| 602 | a_sy: i32, |
| 603 | a_sw: i32, |
| 604 | a_sh: i32, |
| 605 | ) -> Result<::js_sys::Promise, JsValue>; |
| 606 | #[cfg (feature = "Blob" )] |
| 607 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 608 | #[doc = "The `createImageBitmap()` method." ] |
| 609 | #[doc = "" ] |
| 610 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 611 | #[doc = "" ] |
| 612 | #[doc = "*This API requires the following crate features to be activated: `Blob`, `WorkerGlobalScope`*" ] |
| 613 | pub unsafefn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 614 | this: &WorkerGlobalScope, |
| 615 | a_image: &Blob, |
| 616 | a_sx: i32, |
| 617 | a_sy: i32, |
| 618 | a_sw: i32, |
| 619 | a_sh: i32, |
| 620 | ) -> Result<::js_sys::Promise, JsValue>; |
| 621 | #[cfg (feature = "ImageData" )] |
| 622 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 623 | #[doc = "The `createImageBitmap()` method." ] |
| 624 | #[doc = "" ] |
| 625 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 626 | #[doc = "" ] |
| 627 | #[doc = "*This API requires the following crate features to be activated: `ImageData`, `WorkerGlobalScope`*" ] |
| 628 | pub unsafefn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh( |
| 629 | this: &WorkerGlobalScope, |
| 630 | a_image: &ImageData, |
| 631 | a_sx: i32, |
| 632 | a_sy: i32, |
| 633 | a_sw: i32, |
| 634 | a_sh: i32, |
| 635 | ) -> Result<::js_sys::Promise, JsValue>; |
| 636 | #[cfg (all(feature = "HtmlImageElement" , feature = "ImageBitmapOptions" ,))] |
| 637 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 638 | #[doc = "The `createImageBitmap()` method." ] |
| 639 | #[doc = "" ] |
| 640 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 641 | #[doc = "" ] |
| 642 | #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 643 | pub unsafefn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 644 | this: &WorkerGlobalScope, |
| 645 | a_image: &HtmlImageElement, |
| 646 | a_sx: i32, |
| 647 | a_sy: i32, |
| 648 | a_sw: i32, |
| 649 | a_sh: i32, |
| 650 | a_options: &ImageBitmapOptions, |
| 651 | ) -> Result<::js_sys::Promise, JsValue>; |
| 652 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "SvgImageElement" ,))] |
| 653 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 654 | #[doc = "The `createImageBitmap()` method." ] |
| 655 | #[doc = "" ] |
| 656 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 657 | #[doc = "" ] |
| 658 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `WorkerGlobalScope`*" ] |
| 659 | pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 660 | this: &WorkerGlobalScope, |
| 661 | a_image: &SvgImageElement, |
| 662 | a_sx: i32, |
| 663 | a_sy: i32, |
| 664 | a_sw: i32, |
| 665 | a_sh: i32, |
| 666 | a_options: &ImageBitmapOptions, |
| 667 | ) -> Result<::js_sys::Promise, JsValue>; |
| 668 | #[cfg (all(feature = "HtmlCanvasElement" , feature = "ImageBitmapOptions" ,))] |
| 669 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 670 | #[doc = "The `createImageBitmap()` method." ] |
| 671 | #[doc = "" ] |
| 672 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 673 | #[doc = "" ] |
| 674 | #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 675 | pub unsafefn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 676 | this: &WorkerGlobalScope, |
| 677 | a_image: &HtmlCanvasElement, |
| 678 | a_sx: i32, |
| 679 | a_sy: i32, |
| 680 | a_sw: i32, |
| 681 | a_sh: i32, |
| 682 | a_options: &ImageBitmapOptions, |
| 683 | ) -> Result<::js_sys::Promise, JsValue>; |
| 684 | #[cfg (all(feature = "HtmlVideoElement" , feature = "ImageBitmapOptions" ,))] |
| 685 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 686 | #[doc = "The `createImageBitmap()` method." ] |
| 687 | #[doc = "" ] |
| 688 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 689 | #[doc = "" ] |
| 690 | #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 691 | pub unsafefn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 692 | this: &WorkerGlobalScope, |
| 693 | a_image: &HtmlVideoElement, |
| 694 | a_sx: i32, |
| 695 | a_sy: i32, |
| 696 | a_sw: i32, |
| 697 | a_sh: i32, |
| 698 | a_options: &ImageBitmapOptions, |
| 699 | ) -> Result<::js_sys::Promise, JsValue>; |
| 700 | #[cfg (all(feature = "ImageBitmap" , feature = "ImageBitmapOptions" ,))] |
| 701 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 702 | #[doc = "The `createImageBitmap()` method." ] |
| 703 | #[doc = "" ] |
| 704 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 705 | #[doc = "" ] |
| 706 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 707 | pub unsafefn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 708 | this: &WorkerGlobalScope, |
| 709 | a_image: &ImageBitmap, |
| 710 | a_sx: i32, |
| 711 | a_sy: i32, |
| 712 | a_sw: i32, |
| 713 | a_sh: i32, |
| 714 | a_options: &ImageBitmapOptions, |
| 715 | ) -> Result<::js_sys::Promise, JsValue>; |
| 716 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "OffscreenCanvas" ,))] |
| 717 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 718 | #[doc = "The `createImageBitmap()` method." ] |
| 719 | #[doc = "" ] |
| 720 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 721 | #[doc = "" ] |
| 722 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `WorkerGlobalScope`*" ] |
| 723 | pub unsafefn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 724 | this: &WorkerGlobalScope, |
| 725 | a_image: &OffscreenCanvas, |
| 726 | a_sx: i32, |
| 727 | a_sy: i32, |
| 728 | a_sw: i32, |
| 729 | a_sh: i32, |
| 730 | a_options: &ImageBitmapOptions, |
| 731 | ) -> Result<::js_sys::Promise, JsValue>; |
| 732 | #[cfg (web_sys_unstable_apis)] |
| 733 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "VideoFrame" ,))] |
| 734 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 735 | #[doc = "The `createImageBitmap()` method." ] |
| 736 | #[doc = "" ] |
| 737 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 738 | #[doc = "" ] |
| 739 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `WorkerGlobalScope`*" ] |
| 740 | #[doc = "" ] |
| 741 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 742 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 743 | pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 744 | this: &WorkerGlobalScope, |
| 745 | a_image: &VideoFrame, |
| 746 | a_sx: i32, |
| 747 | a_sy: i32, |
| 748 | a_sw: i32, |
| 749 | a_sh: i32, |
| 750 | a_options: &ImageBitmapOptions, |
| 751 | ) -> Result<::js_sys::Promise, JsValue>; |
| 752 | #[cfg (all(feature = "Blob" , feature = "ImageBitmapOptions" ,))] |
| 753 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 754 | #[doc = "The `createImageBitmap()` method." ] |
| 755 | #[doc = "" ] |
| 756 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 757 | #[doc = "" ] |
| 758 | #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `WorkerGlobalScope`*" ] |
| 759 | pub unsafefn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 760 | this: &WorkerGlobalScope, |
| 761 | a_image: &Blob, |
| 762 | a_sx: i32, |
| 763 | a_sy: i32, |
| 764 | a_sw: i32, |
| 765 | a_sh: i32, |
| 766 | a_options: &ImageBitmapOptions, |
| 767 | ) -> Result<::js_sys::Promise, JsValue>; |
| 768 | #[cfg (all(feature = "ImageBitmapOptions" , feature = "ImageData" ,))] |
| 769 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = createImageBitmap)] |
| 770 | #[doc = "The `createImageBitmap()` method." ] |
| 771 | #[doc = "" ] |
| 772 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/createImageBitmap)" ] |
| 773 | #[doc = "" ] |
| 774 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `WorkerGlobalScope`*" ] |
| 775 | pub unsafefn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options( |
| 776 | this: &WorkerGlobalScope, |
| 777 | a_image: &ImageData, |
| 778 | a_sx: i32, |
| 779 | a_sy: i32, |
| 780 | a_sw: i32, |
| 781 | a_sh: i32, |
| 782 | a_options: &ImageBitmapOptions, |
| 783 | ) -> Result<::js_sys::Promise, JsValue>; |
| 784 | #[cfg (feature = "Request" )] |
| 785 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] |
| 786 | #[doc = "The `fetch()` method." ] |
| 787 | #[doc = "" ] |
| 788 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)" ] |
| 789 | #[doc = "" ] |
| 790 | #[doc = "*This API requires the following crate features to be activated: `Request`, `WorkerGlobalScope`*" ] |
| 791 | pub unsafefn fetch_with_request(this: &WorkerGlobalScope, input: &Request) -> ::js_sys::Promise; |
| 792 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] |
| 793 | #[doc = "The `fetch()` method." ] |
| 794 | #[doc = "" ] |
| 795 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)" ] |
| 796 | #[doc = "" ] |
| 797 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 798 | pub unsafefn fetch_with_str(this: &WorkerGlobalScope, input: &str) -> ::js_sys::Promise; |
| 799 | #[cfg (all(feature = "Request" , feature = "RequestInit" ,))] |
| 800 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] |
| 801 | #[doc = "The `fetch()` method." ] |
| 802 | #[doc = "" ] |
| 803 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)" ] |
| 804 | #[doc = "" ] |
| 805 | #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `WorkerGlobalScope`*" ] |
| 806 | pub unsafefn fetch_with_request_and_init( |
| 807 | this: &WorkerGlobalScope, |
| 808 | input: &Request, |
| 809 | init: &RequestInit, |
| 810 | ) -> ::js_sys::Promise; |
| 811 | #[cfg (feature = "RequestInit" )] |
| 812 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = fetch)] |
| 813 | #[doc = "The `fetch()` method." ] |
| 814 | #[doc = "" ] |
| 815 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/fetch)" ] |
| 816 | #[doc = "" ] |
| 817 | #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `WorkerGlobalScope`*" ] |
| 818 | pub unsafefn fetch_with_str_and_init( |
| 819 | this: &WorkerGlobalScope, |
| 820 | input: &str, |
| 821 | init: &RequestInit, |
| 822 | ) -> ::js_sys::Promise; |
| 823 | # [wasm_bindgen (method , structural , js_class = "WorkerGlobalScope" , js_name = queueMicrotask)] |
| 824 | #[doc = "The `queueMicrotask()` method." ] |
| 825 | #[doc = "" ] |
| 826 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/queueMicrotask)" ] |
| 827 | #[doc = "" ] |
| 828 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 829 | pub unsafefn queue_microtask(this: &WorkerGlobalScope, callback: &::js_sys::Function); |
| 830 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 831 | #[doc = "The `setInterval()` method." ] |
| 832 | #[doc = "" ] |
| 833 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 834 | #[doc = "" ] |
| 835 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 836 | pub unsafefn set_interval_with_callback( |
| 837 | this: &WorkerGlobalScope, |
| 838 | handler: &::js_sys::Function, |
| 839 | ) -> Result<i32, JsValue>; |
| 840 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 841 | #[doc = "The `setInterval()` method." ] |
| 842 | #[doc = "" ] |
| 843 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 844 | #[doc = "" ] |
| 845 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 846 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments( |
| 847 | this: &WorkerGlobalScope, |
| 848 | handler: &::js_sys::Function, |
| 849 | timeout: i32, |
| 850 | arguments: &::js_sys::Array, |
| 851 | ) -> Result<i32, JsValue>; |
| 852 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 853 | #[doc = "The `setInterval()` method." ] |
| 854 | #[doc = "" ] |
| 855 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 856 | #[doc = "" ] |
| 857 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 858 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_0( |
| 859 | this: &WorkerGlobalScope, |
| 860 | handler: &::js_sys::Function, |
| 861 | timeout: i32, |
| 862 | ) -> Result<i32, JsValue>; |
| 863 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 864 | #[doc = "The `setInterval()` method." ] |
| 865 | #[doc = "" ] |
| 866 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 867 | #[doc = "" ] |
| 868 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 869 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_1( |
| 870 | this: &WorkerGlobalScope, |
| 871 | handler: &::js_sys::Function, |
| 872 | timeout: i32, |
| 873 | arguments_1: &::wasm_bindgen::JsValue, |
| 874 | ) -> Result<i32, JsValue>; |
| 875 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 876 | #[doc = "The `setInterval()` method." ] |
| 877 | #[doc = "" ] |
| 878 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 879 | #[doc = "" ] |
| 880 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 881 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_2( |
| 882 | this: &WorkerGlobalScope, |
| 883 | handler: &::js_sys::Function, |
| 884 | timeout: i32, |
| 885 | arguments_1: &::wasm_bindgen::JsValue, |
| 886 | arguments_2: &::wasm_bindgen::JsValue, |
| 887 | ) -> Result<i32, JsValue>; |
| 888 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 889 | #[doc = "The `setInterval()` method." ] |
| 890 | #[doc = "" ] |
| 891 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 892 | #[doc = "" ] |
| 893 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 894 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_3( |
| 895 | this: &WorkerGlobalScope, |
| 896 | handler: &::js_sys::Function, |
| 897 | timeout: i32, |
| 898 | arguments_1: &::wasm_bindgen::JsValue, |
| 899 | arguments_2: &::wasm_bindgen::JsValue, |
| 900 | arguments_3: &::wasm_bindgen::JsValue, |
| 901 | ) -> Result<i32, JsValue>; |
| 902 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 903 | #[doc = "The `setInterval()` method." ] |
| 904 | #[doc = "" ] |
| 905 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 906 | #[doc = "" ] |
| 907 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 908 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_4( |
| 909 | this: &WorkerGlobalScope, |
| 910 | handler: &::js_sys::Function, |
| 911 | timeout: i32, |
| 912 | arguments_1: &::wasm_bindgen::JsValue, |
| 913 | arguments_2: &::wasm_bindgen::JsValue, |
| 914 | arguments_3: &::wasm_bindgen::JsValue, |
| 915 | arguments_4: &::wasm_bindgen::JsValue, |
| 916 | ) -> Result<i32, JsValue>; |
| 917 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 918 | #[doc = "The `setInterval()` method." ] |
| 919 | #[doc = "" ] |
| 920 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 921 | #[doc = "" ] |
| 922 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 923 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_5( |
| 924 | this: &WorkerGlobalScope, |
| 925 | handler: &::js_sys::Function, |
| 926 | timeout: i32, |
| 927 | arguments_1: &::wasm_bindgen::JsValue, |
| 928 | arguments_2: &::wasm_bindgen::JsValue, |
| 929 | arguments_3: &::wasm_bindgen::JsValue, |
| 930 | arguments_4: &::wasm_bindgen::JsValue, |
| 931 | arguments_5: &::wasm_bindgen::JsValue, |
| 932 | ) -> Result<i32, JsValue>; |
| 933 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 934 | #[doc = "The `setInterval()` method." ] |
| 935 | #[doc = "" ] |
| 936 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 937 | #[doc = "" ] |
| 938 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 939 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_6( |
| 940 | this: &WorkerGlobalScope, |
| 941 | handler: &::js_sys::Function, |
| 942 | timeout: i32, |
| 943 | arguments_1: &::wasm_bindgen::JsValue, |
| 944 | arguments_2: &::wasm_bindgen::JsValue, |
| 945 | arguments_3: &::wasm_bindgen::JsValue, |
| 946 | arguments_4: &::wasm_bindgen::JsValue, |
| 947 | arguments_5: &::wasm_bindgen::JsValue, |
| 948 | arguments_6: &::wasm_bindgen::JsValue, |
| 949 | ) -> Result<i32, JsValue>; |
| 950 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 951 | #[doc = "The `setInterval()` method." ] |
| 952 | #[doc = "" ] |
| 953 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 954 | #[doc = "" ] |
| 955 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 956 | pub unsafefn set_interval_with_callback_and_timeout_and_arguments_7( |
| 957 | this: &WorkerGlobalScope, |
| 958 | handler: &::js_sys::Function, |
| 959 | timeout: i32, |
| 960 | arguments_1: &::wasm_bindgen::JsValue, |
| 961 | arguments_2: &::wasm_bindgen::JsValue, |
| 962 | arguments_3: &::wasm_bindgen::JsValue, |
| 963 | arguments_4: &::wasm_bindgen::JsValue, |
| 964 | arguments_5: &::wasm_bindgen::JsValue, |
| 965 | arguments_6: &::wasm_bindgen::JsValue, |
| 966 | arguments_7: &::wasm_bindgen::JsValue, |
| 967 | ) -> Result<i32, JsValue>; |
| 968 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 969 | #[doc = "The `setInterval()` method." ] |
| 970 | #[doc = "" ] |
| 971 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 972 | #[doc = "" ] |
| 973 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 974 | pub unsafefn set_interval_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; |
| 975 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 976 | #[doc = "The `setInterval()` method." ] |
| 977 | #[doc = "" ] |
| 978 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 979 | #[doc = "" ] |
| 980 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 981 | pub unsafefn set_interval_with_str_and_timeout_and_unused( |
| 982 | this: &WorkerGlobalScope, |
| 983 | handler: &str, |
| 984 | timeout: i32, |
| 985 | unused: &::js_sys::Array, |
| 986 | ) -> Result<i32, JsValue>; |
| 987 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 988 | #[doc = "The `setInterval()` method." ] |
| 989 | #[doc = "" ] |
| 990 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 991 | #[doc = "" ] |
| 992 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 993 | pub unsafefn set_interval_with_str_and_timeout_and_unused_0( |
| 994 | this: &WorkerGlobalScope, |
| 995 | handler: &str, |
| 996 | timeout: i32, |
| 997 | ) -> Result<i32, JsValue>; |
| 998 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 999 | #[doc = "The `setInterval()` method." ] |
| 1000 | #[doc = "" ] |
| 1001 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1002 | #[doc = "" ] |
| 1003 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1004 | pub unsafefn set_interval_with_str_and_timeout_and_unused_1( |
| 1005 | this: &WorkerGlobalScope, |
| 1006 | handler: &str, |
| 1007 | timeout: i32, |
| 1008 | unused_1: &::wasm_bindgen::JsValue, |
| 1009 | ) -> Result<i32, JsValue>; |
| 1010 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1011 | #[doc = "The `setInterval()` method." ] |
| 1012 | #[doc = "" ] |
| 1013 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1014 | #[doc = "" ] |
| 1015 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1016 | pub unsafefn set_interval_with_str_and_timeout_and_unused_2( |
| 1017 | this: &WorkerGlobalScope, |
| 1018 | handler: &str, |
| 1019 | timeout: i32, |
| 1020 | unused_1: &::wasm_bindgen::JsValue, |
| 1021 | unused_2: &::wasm_bindgen::JsValue, |
| 1022 | ) -> Result<i32, JsValue>; |
| 1023 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1024 | #[doc = "The `setInterval()` method." ] |
| 1025 | #[doc = "" ] |
| 1026 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1027 | #[doc = "" ] |
| 1028 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1029 | pub unsafefn set_interval_with_str_and_timeout_and_unused_3( |
| 1030 | this: &WorkerGlobalScope, |
| 1031 | handler: &str, |
| 1032 | timeout: i32, |
| 1033 | unused_1: &::wasm_bindgen::JsValue, |
| 1034 | unused_2: &::wasm_bindgen::JsValue, |
| 1035 | unused_3: &::wasm_bindgen::JsValue, |
| 1036 | ) -> Result<i32, JsValue>; |
| 1037 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1038 | #[doc = "The `setInterval()` method." ] |
| 1039 | #[doc = "" ] |
| 1040 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1041 | #[doc = "" ] |
| 1042 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1043 | pub unsafefn set_interval_with_str_and_timeout_and_unused_4( |
| 1044 | this: &WorkerGlobalScope, |
| 1045 | handler: &str, |
| 1046 | timeout: i32, |
| 1047 | unused_1: &::wasm_bindgen::JsValue, |
| 1048 | unused_2: &::wasm_bindgen::JsValue, |
| 1049 | unused_3: &::wasm_bindgen::JsValue, |
| 1050 | unused_4: &::wasm_bindgen::JsValue, |
| 1051 | ) -> Result<i32, JsValue>; |
| 1052 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1053 | #[doc = "The `setInterval()` method." ] |
| 1054 | #[doc = "" ] |
| 1055 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1056 | #[doc = "" ] |
| 1057 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1058 | pub unsafefn set_interval_with_str_and_timeout_and_unused_5( |
| 1059 | this: &WorkerGlobalScope, |
| 1060 | handler: &str, |
| 1061 | timeout: i32, |
| 1062 | unused_1: &::wasm_bindgen::JsValue, |
| 1063 | unused_2: &::wasm_bindgen::JsValue, |
| 1064 | unused_3: &::wasm_bindgen::JsValue, |
| 1065 | unused_4: &::wasm_bindgen::JsValue, |
| 1066 | unused_5: &::wasm_bindgen::JsValue, |
| 1067 | ) -> Result<i32, JsValue>; |
| 1068 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1069 | #[doc = "The `setInterval()` method." ] |
| 1070 | #[doc = "" ] |
| 1071 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1072 | #[doc = "" ] |
| 1073 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1074 | pub unsafefn set_interval_with_str_and_timeout_and_unused_6( |
| 1075 | this: &WorkerGlobalScope, |
| 1076 | handler: &str, |
| 1077 | timeout: i32, |
| 1078 | unused_1: &::wasm_bindgen::JsValue, |
| 1079 | unused_2: &::wasm_bindgen::JsValue, |
| 1080 | unused_3: &::wasm_bindgen::JsValue, |
| 1081 | unused_4: &::wasm_bindgen::JsValue, |
| 1082 | unused_5: &::wasm_bindgen::JsValue, |
| 1083 | unused_6: &::wasm_bindgen::JsValue, |
| 1084 | ) -> Result<i32, JsValue>; |
| 1085 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
| 1086 | #[doc = "The `setInterval()` method." ] |
| 1087 | #[doc = "" ] |
| 1088 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
| 1089 | #[doc = "" ] |
| 1090 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1091 | pub unsafefn set_interval_with_str_and_timeout_and_unused_7( |
| 1092 | this: &WorkerGlobalScope, |
| 1093 | handler: &str, |
| 1094 | timeout: i32, |
| 1095 | unused_1: &::wasm_bindgen::JsValue, |
| 1096 | unused_2: &::wasm_bindgen::JsValue, |
| 1097 | unused_3: &::wasm_bindgen::JsValue, |
| 1098 | unused_4: &::wasm_bindgen::JsValue, |
| 1099 | unused_5: &::wasm_bindgen::JsValue, |
| 1100 | unused_6: &::wasm_bindgen::JsValue, |
| 1101 | unused_7: &::wasm_bindgen::JsValue, |
| 1102 | ) -> Result<i32, JsValue>; |
| 1103 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1104 | #[doc = "The `setTimeout()` method." ] |
| 1105 | #[doc = "" ] |
| 1106 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1107 | #[doc = "" ] |
| 1108 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1109 | pub unsafefn set_timeout_with_callback( |
| 1110 | this: &WorkerGlobalScope, |
| 1111 | handler: &::js_sys::Function, |
| 1112 | ) -> Result<i32, JsValue>; |
| 1113 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1114 | #[doc = "The `setTimeout()` method." ] |
| 1115 | #[doc = "" ] |
| 1116 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1117 | #[doc = "" ] |
| 1118 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1119 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments( |
| 1120 | this: &WorkerGlobalScope, |
| 1121 | handler: &::js_sys::Function, |
| 1122 | timeout: i32, |
| 1123 | arguments: &::js_sys::Array, |
| 1124 | ) -> Result<i32, JsValue>; |
| 1125 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1126 | #[doc = "The `setTimeout()` method." ] |
| 1127 | #[doc = "" ] |
| 1128 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1129 | #[doc = "" ] |
| 1130 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1131 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_0( |
| 1132 | this: &WorkerGlobalScope, |
| 1133 | handler: &::js_sys::Function, |
| 1134 | timeout: i32, |
| 1135 | ) -> Result<i32, JsValue>; |
| 1136 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1137 | #[doc = "The `setTimeout()` method." ] |
| 1138 | #[doc = "" ] |
| 1139 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1140 | #[doc = "" ] |
| 1141 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1142 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_1( |
| 1143 | this: &WorkerGlobalScope, |
| 1144 | handler: &::js_sys::Function, |
| 1145 | timeout: i32, |
| 1146 | arguments_1: &::wasm_bindgen::JsValue, |
| 1147 | ) -> Result<i32, JsValue>; |
| 1148 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1149 | #[doc = "The `setTimeout()` method." ] |
| 1150 | #[doc = "" ] |
| 1151 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1152 | #[doc = "" ] |
| 1153 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1154 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_2( |
| 1155 | this: &WorkerGlobalScope, |
| 1156 | handler: &::js_sys::Function, |
| 1157 | timeout: i32, |
| 1158 | arguments_1: &::wasm_bindgen::JsValue, |
| 1159 | arguments_2: &::wasm_bindgen::JsValue, |
| 1160 | ) -> Result<i32, JsValue>; |
| 1161 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1162 | #[doc = "The `setTimeout()` method." ] |
| 1163 | #[doc = "" ] |
| 1164 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1165 | #[doc = "" ] |
| 1166 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1167 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_3( |
| 1168 | this: &WorkerGlobalScope, |
| 1169 | handler: &::js_sys::Function, |
| 1170 | timeout: i32, |
| 1171 | arguments_1: &::wasm_bindgen::JsValue, |
| 1172 | arguments_2: &::wasm_bindgen::JsValue, |
| 1173 | arguments_3: &::wasm_bindgen::JsValue, |
| 1174 | ) -> Result<i32, JsValue>; |
| 1175 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1176 | #[doc = "The `setTimeout()` method." ] |
| 1177 | #[doc = "" ] |
| 1178 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1179 | #[doc = "" ] |
| 1180 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1181 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_4( |
| 1182 | this: &WorkerGlobalScope, |
| 1183 | handler: &::js_sys::Function, |
| 1184 | timeout: i32, |
| 1185 | arguments_1: &::wasm_bindgen::JsValue, |
| 1186 | arguments_2: &::wasm_bindgen::JsValue, |
| 1187 | arguments_3: &::wasm_bindgen::JsValue, |
| 1188 | arguments_4: &::wasm_bindgen::JsValue, |
| 1189 | ) -> Result<i32, JsValue>; |
| 1190 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1191 | #[doc = "The `setTimeout()` method." ] |
| 1192 | #[doc = "" ] |
| 1193 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1194 | #[doc = "" ] |
| 1195 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1196 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_5( |
| 1197 | this: &WorkerGlobalScope, |
| 1198 | handler: &::js_sys::Function, |
| 1199 | timeout: i32, |
| 1200 | arguments_1: &::wasm_bindgen::JsValue, |
| 1201 | arguments_2: &::wasm_bindgen::JsValue, |
| 1202 | arguments_3: &::wasm_bindgen::JsValue, |
| 1203 | arguments_4: &::wasm_bindgen::JsValue, |
| 1204 | arguments_5: &::wasm_bindgen::JsValue, |
| 1205 | ) -> Result<i32, JsValue>; |
| 1206 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1207 | #[doc = "The `setTimeout()` method." ] |
| 1208 | #[doc = "" ] |
| 1209 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1210 | #[doc = "" ] |
| 1211 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1212 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_6( |
| 1213 | this: &WorkerGlobalScope, |
| 1214 | handler: &::js_sys::Function, |
| 1215 | timeout: i32, |
| 1216 | arguments_1: &::wasm_bindgen::JsValue, |
| 1217 | arguments_2: &::wasm_bindgen::JsValue, |
| 1218 | arguments_3: &::wasm_bindgen::JsValue, |
| 1219 | arguments_4: &::wasm_bindgen::JsValue, |
| 1220 | arguments_5: &::wasm_bindgen::JsValue, |
| 1221 | arguments_6: &::wasm_bindgen::JsValue, |
| 1222 | ) -> Result<i32, JsValue>; |
| 1223 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1224 | #[doc = "The `setTimeout()` method." ] |
| 1225 | #[doc = "" ] |
| 1226 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1227 | #[doc = "" ] |
| 1228 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1229 | pub unsafefn set_timeout_with_callback_and_timeout_and_arguments_7( |
| 1230 | this: &WorkerGlobalScope, |
| 1231 | handler: &::js_sys::Function, |
| 1232 | timeout: i32, |
| 1233 | arguments_1: &::wasm_bindgen::JsValue, |
| 1234 | arguments_2: &::wasm_bindgen::JsValue, |
| 1235 | arguments_3: &::wasm_bindgen::JsValue, |
| 1236 | arguments_4: &::wasm_bindgen::JsValue, |
| 1237 | arguments_5: &::wasm_bindgen::JsValue, |
| 1238 | arguments_6: &::wasm_bindgen::JsValue, |
| 1239 | arguments_7: &::wasm_bindgen::JsValue, |
| 1240 | ) -> Result<i32, JsValue>; |
| 1241 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1242 | #[doc = "The `setTimeout()` method." ] |
| 1243 | #[doc = "" ] |
| 1244 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1245 | #[doc = "" ] |
| 1246 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1247 | pub unsafefn set_timeout_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; |
| 1248 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1249 | #[doc = "The `setTimeout()` method." ] |
| 1250 | #[doc = "" ] |
| 1251 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1252 | #[doc = "" ] |
| 1253 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1254 | pub unsafefn set_timeout_with_str_and_timeout_and_unused( |
| 1255 | this: &WorkerGlobalScope, |
| 1256 | handler: &str, |
| 1257 | timeout: i32, |
| 1258 | unused: &::js_sys::Array, |
| 1259 | ) -> Result<i32, JsValue>; |
| 1260 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1261 | #[doc = "The `setTimeout()` method." ] |
| 1262 | #[doc = "" ] |
| 1263 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1264 | #[doc = "" ] |
| 1265 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1266 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_0( |
| 1267 | this: &WorkerGlobalScope, |
| 1268 | handler: &str, |
| 1269 | timeout: i32, |
| 1270 | ) -> Result<i32, JsValue>; |
| 1271 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1272 | #[doc = "The `setTimeout()` method." ] |
| 1273 | #[doc = "" ] |
| 1274 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1275 | #[doc = "" ] |
| 1276 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1277 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_1( |
| 1278 | this: &WorkerGlobalScope, |
| 1279 | handler: &str, |
| 1280 | timeout: i32, |
| 1281 | unused_1: &::wasm_bindgen::JsValue, |
| 1282 | ) -> Result<i32, JsValue>; |
| 1283 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1284 | #[doc = "The `setTimeout()` method." ] |
| 1285 | #[doc = "" ] |
| 1286 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1287 | #[doc = "" ] |
| 1288 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1289 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_2( |
| 1290 | this: &WorkerGlobalScope, |
| 1291 | handler: &str, |
| 1292 | timeout: i32, |
| 1293 | unused_1: &::wasm_bindgen::JsValue, |
| 1294 | unused_2: &::wasm_bindgen::JsValue, |
| 1295 | ) -> Result<i32, JsValue>; |
| 1296 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1297 | #[doc = "The `setTimeout()` method." ] |
| 1298 | #[doc = "" ] |
| 1299 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1300 | #[doc = "" ] |
| 1301 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1302 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_3( |
| 1303 | this: &WorkerGlobalScope, |
| 1304 | handler: &str, |
| 1305 | timeout: i32, |
| 1306 | unused_1: &::wasm_bindgen::JsValue, |
| 1307 | unused_2: &::wasm_bindgen::JsValue, |
| 1308 | unused_3: &::wasm_bindgen::JsValue, |
| 1309 | ) -> Result<i32, JsValue>; |
| 1310 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1311 | #[doc = "The `setTimeout()` method." ] |
| 1312 | #[doc = "" ] |
| 1313 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1314 | #[doc = "" ] |
| 1315 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1316 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_4( |
| 1317 | this: &WorkerGlobalScope, |
| 1318 | handler: &str, |
| 1319 | timeout: i32, |
| 1320 | unused_1: &::wasm_bindgen::JsValue, |
| 1321 | unused_2: &::wasm_bindgen::JsValue, |
| 1322 | unused_3: &::wasm_bindgen::JsValue, |
| 1323 | unused_4: &::wasm_bindgen::JsValue, |
| 1324 | ) -> Result<i32, JsValue>; |
| 1325 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1326 | #[doc = "The `setTimeout()` method." ] |
| 1327 | #[doc = "" ] |
| 1328 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1329 | #[doc = "" ] |
| 1330 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1331 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_5( |
| 1332 | this: &WorkerGlobalScope, |
| 1333 | handler: &str, |
| 1334 | timeout: i32, |
| 1335 | unused_1: &::wasm_bindgen::JsValue, |
| 1336 | unused_2: &::wasm_bindgen::JsValue, |
| 1337 | unused_3: &::wasm_bindgen::JsValue, |
| 1338 | unused_4: &::wasm_bindgen::JsValue, |
| 1339 | unused_5: &::wasm_bindgen::JsValue, |
| 1340 | ) -> Result<i32, JsValue>; |
| 1341 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1342 | #[doc = "The `setTimeout()` method." ] |
| 1343 | #[doc = "" ] |
| 1344 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1345 | #[doc = "" ] |
| 1346 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1347 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_6( |
| 1348 | this: &WorkerGlobalScope, |
| 1349 | handler: &str, |
| 1350 | timeout: i32, |
| 1351 | unused_1: &::wasm_bindgen::JsValue, |
| 1352 | unused_2: &::wasm_bindgen::JsValue, |
| 1353 | unused_3: &::wasm_bindgen::JsValue, |
| 1354 | unused_4: &::wasm_bindgen::JsValue, |
| 1355 | unused_5: &::wasm_bindgen::JsValue, |
| 1356 | unused_6: &::wasm_bindgen::JsValue, |
| 1357 | ) -> Result<i32, JsValue>; |
| 1358 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
| 1359 | #[doc = "The `setTimeout()` method." ] |
| 1360 | #[doc = "" ] |
| 1361 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
| 1362 | #[doc = "" ] |
| 1363 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
| 1364 | pub unsafefn set_timeout_with_str_and_timeout_and_unused_7( |
| 1365 | this: &WorkerGlobalScope, |
| 1366 | handler: &str, |
| 1367 | timeout: i32, |
| 1368 | unused_1: &::wasm_bindgen::JsValue, |
| 1369 | unused_2: &::wasm_bindgen::JsValue, |
| 1370 | unused_3: &::wasm_bindgen::JsValue, |
| 1371 | unused_4: &::wasm_bindgen::JsValue, |
| 1372 | unused_5: &::wasm_bindgen::JsValue, |
| 1373 | unused_6: &::wasm_bindgen::JsValue, |
| 1374 | unused_7: &::wasm_bindgen::JsValue, |
| 1375 | ) -> Result<i32, JsValue>; |
| 1376 | } |
| 1377 | |