1 | #![allow (unused_imports)] |
2 | #![allow (clippy::all)] |
3 | use super::*; |
4 | use wasm_bindgen::prelude::*; |
5 | #[wasm_bindgen ] |
6 | extern "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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 = "Performance" )] |
89 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = performance)] |
90 | #[doc = "Getter for the `performance` field of this object." ] |
91 | #[doc = "" ] |
92 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/performance)" ] |
93 | #[doc = "" ] |
94 | #[doc = "*This API requires the following crate features to be activated: `Performance`, `WorkerGlobalScope`*" ] |
95 | pub fn performance(this: &WorkerGlobalScope) -> Option<Performance>; |
96 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = origin)] |
97 | #[doc = "Getter for the `origin` field of this object." ] |
98 | #[doc = "" ] |
99 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/origin)" ] |
100 | #[doc = "" ] |
101 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
102 | pub fn origin(this: &WorkerGlobalScope) -> String; |
103 | # [wasm_bindgen (structural , method , getter , js_class = "WorkerGlobalScope" , js_name = isSecureContext)] |
104 | #[doc = "Getter for the `isSecureContext` field of this object." ] |
105 | #[doc = "" ] |
106 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/isSecureContext)" ] |
107 | #[doc = "" ] |
108 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
109 | pub fn is_secure_context(this: &WorkerGlobalScope) -> bool; |
110 | #[cfg (feature = "IdbFactory" )] |
111 | # [wasm_bindgen (structural , catch , method , getter , js_class = "WorkerGlobalScope" , js_name = indexedDB)] |
112 | #[doc = "Getter for the `indexedDB` field of this object." ] |
113 | #[doc = "" ] |
114 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/indexedDB)" ] |
115 | #[doc = "" ] |
116 | #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `WorkerGlobalScope`*" ] |
117 | pub fn indexed_db(this: &WorkerGlobalScope) -> Result<Option<IdbFactory>, JsValue>; |
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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn atob(this: &WorkerGlobalScope, atob: &str) -> Result<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 fn btoa(this: &WorkerGlobalScope, btoa: &str) -> Result<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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn 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 fn fetch_with_str_and_init( |
819 | this: &WorkerGlobalScope, |
820 | input: &str, |
821 | init: &RequestInit, |
822 | ) -> ::js_sys::Promise; |
823 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
824 | #[doc = "The `setInterval()` method." ] |
825 | #[doc = "" ] |
826 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
827 | #[doc = "" ] |
828 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
829 | pub fn set_interval_with_callback( |
830 | this: &WorkerGlobalScope, |
831 | handler: &::js_sys::Function, |
832 | ) -> Result<i32, JsValue>; |
833 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
834 | #[doc = "The `setInterval()` method." ] |
835 | #[doc = "" ] |
836 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
837 | #[doc = "" ] |
838 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
839 | pub fn set_interval_with_callback_and_timeout_and_arguments( |
840 | this: &WorkerGlobalScope, |
841 | handler: &::js_sys::Function, |
842 | timeout: i32, |
843 | arguments: &::js_sys::Array, |
844 | ) -> Result<i32, JsValue>; |
845 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
846 | #[doc = "The `setInterval()` method." ] |
847 | #[doc = "" ] |
848 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
849 | #[doc = "" ] |
850 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
851 | pub fn set_interval_with_callback_and_timeout_and_arguments_0( |
852 | this: &WorkerGlobalScope, |
853 | handler: &::js_sys::Function, |
854 | timeout: i32, |
855 | ) -> Result<i32, JsValue>; |
856 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
857 | #[doc = "The `setInterval()` method." ] |
858 | #[doc = "" ] |
859 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
860 | #[doc = "" ] |
861 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
862 | pub fn set_interval_with_callback_and_timeout_and_arguments_1( |
863 | this: &WorkerGlobalScope, |
864 | handler: &::js_sys::Function, |
865 | timeout: i32, |
866 | arguments_1: &::wasm_bindgen::JsValue, |
867 | ) -> Result<i32, JsValue>; |
868 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
869 | #[doc = "The `setInterval()` method." ] |
870 | #[doc = "" ] |
871 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
872 | #[doc = "" ] |
873 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
874 | pub fn set_interval_with_callback_and_timeout_and_arguments_2( |
875 | this: &WorkerGlobalScope, |
876 | handler: &::js_sys::Function, |
877 | timeout: i32, |
878 | arguments_1: &::wasm_bindgen::JsValue, |
879 | arguments_2: &::wasm_bindgen::JsValue, |
880 | ) -> Result<i32, JsValue>; |
881 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
882 | #[doc = "The `setInterval()` method." ] |
883 | #[doc = "" ] |
884 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
885 | #[doc = "" ] |
886 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
887 | pub fn set_interval_with_callback_and_timeout_and_arguments_3( |
888 | this: &WorkerGlobalScope, |
889 | handler: &::js_sys::Function, |
890 | timeout: i32, |
891 | arguments_1: &::wasm_bindgen::JsValue, |
892 | arguments_2: &::wasm_bindgen::JsValue, |
893 | arguments_3: &::wasm_bindgen::JsValue, |
894 | ) -> Result<i32, JsValue>; |
895 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
896 | #[doc = "The `setInterval()` method." ] |
897 | #[doc = "" ] |
898 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
899 | #[doc = "" ] |
900 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
901 | pub fn set_interval_with_callback_and_timeout_and_arguments_4( |
902 | this: &WorkerGlobalScope, |
903 | handler: &::js_sys::Function, |
904 | timeout: i32, |
905 | arguments_1: &::wasm_bindgen::JsValue, |
906 | arguments_2: &::wasm_bindgen::JsValue, |
907 | arguments_3: &::wasm_bindgen::JsValue, |
908 | arguments_4: &::wasm_bindgen::JsValue, |
909 | ) -> Result<i32, JsValue>; |
910 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
911 | #[doc = "The `setInterval()` method." ] |
912 | #[doc = "" ] |
913 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
914 | #[doc = "" ] |
915 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
916 | pub fn set_interval_with_callback_and_timeout_and_arguments_5( |
917 | this: &WorkerGlobalScope, |
918 | handler: &::js_sys::Function, |
919 | timeout: i32, |
920 | arguments_1: &::wasm_bindgen::JsValue, |
921 | arguments_2: &::wasm_bindgen::JsValue, |
922 | arguments_3: &::wasm_bindgen::JsValue, |
923 | arguments_4: &::wasm_bindgen::JsValue, |
924 | arguments_5: &::wasm_bindgen::JsValue, |
925 | ) -> Result<i32, JsValue>; |
926 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
927 | #[doc = "The `setInterval()` method." ] |
928 | #[doc = "" ] |
929 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
930 | #[doc = "" ] |
931 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
932 | pub fn set_interval_with_callback_and_timeout_and_arguments_6( |
933 | this: &WorkerGlobalScope, |
934 | handler: &::js_sys::Function, |
935 | timeout: i32, |
936 | arguments_1: &::wasm_bindgen::JsValue, |
937 | arguments_2: &::wasm_bindgen::JsValue, |
938 | arguments_3: &::wasm_bindgen::JsValue, |
939 | arguments_4: &::wasm_bindgen::JsValue, |
940 | arguments_5: &::wasm_bindgen::JsValue, |
941 | arguments_6: &::wasm_bindgen::JsValue, |
942 | ) -> Result<i32, JsValue>; |
943 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
944 | #[doc = "The `setInterval()` method." ] |
945 | #[doc = "" ] |
946 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
947 | #[doc = "" ] |
948 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
949 | pub fn set_interval_with_callback_and_timeout_and_arguments_7( |
950 | this: &WorkerGlobalScope, |
951 | handler: &::js_sys::Function, |
952 | timeout: i32, |
953 | arguments_1: &::wasm_bindgen::JsValue, |
954 | arguments_2: &::wasm_bindgen::JsValue, |
955 | arguments_3: &::wasm_bindgen::JsValue, |
956 | arguments_4: &::wasm_bindgen::JsValue, |
957 | arguments_5: &::wasm_bindgen::JsValue, |
958 | arguments_6: &::wasm_bindgen::JsValue, |
959 | arguments_7: &::wasm_bindgen::JsValue, |
960 | ) -> Result<i32, JsValue>; |
961 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
962 | #[doc = "The `setInterval()` method." ] |
963 | #[doc = "" ] |
964 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
965 | #[doc = "" ] |
966 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
967 | pub fn set_interval_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; |
968 | # [wasm_bindgen (catch , method , structural , variadic , 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 fn set_interval_with_str_and_timeout_and_unused( |
975 | this: &WorkerGlobalScope, |
976 | handler: &str, |
977 | timeout: i32, |
978 | unused: &::js_sys::Array, |
979 | ) -> Result<i32, JsValue>; |
980 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
981 | #[doc = "The `setInterval()` method." ] |
982 | #[doc = "" ] |
983 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
984 | #[doc = "" ] |
985 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
986 | pub fn set_interval_with_str_and_timeout_and_unused_0( |
987 | this: &WorkerGlobalScope, |
988 | handler: &str, |
989 | timeout: i32, |
990 | ) -> Result<i32, JsValue>; |
991 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
992 | #[doc = "The `setInterval()` method." ] |
993 | #[doc = "" ] |
994 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
995 | #[doc = "" ] |
996 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
997 | pub fn set_interval_with_str_and_timeout_and_unused_1( |
998 | this: &WorkerGlobalScope, |
999 | handler: &str, |
1000 | timeout: i32, |
1001 | unused_1: &::wasm_bindgen::JsValue, |
1002 | ) -> Result<i32, JsValue>; |
1003 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1004 | #[doc = "The `setInterval()` method." ] |
1005 | #[doc = "" ] |
1006 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1007 | #[doc = "" ] |
1008 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1009 | pub fn set_interval_with_str_and_timeout_and_unused_2( |
1010 | this: &WorkerGlobalScope, |
1011 | handler: &str, |
1012 | timeout: i32, |
1013 | unused_1: &::wasm_bindgen::JsValue, |
1014 | unused_2: &::wasm_bindgen::JsValue, |
1015 | ) -> Result<i32, JsValue>; |
1016 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1017 | #[doc = "The `setInterval()` method." ] |
1018 | #[doc = "" ] |
1019 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1020 | #[doc = "" ] |
1021 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1022 | pub fn set_interval_with_str_and_timeout_and_unused_3( |
1023 | this: &WorkerGlobalScope, |
1024 | handler: &str, |
1025 | timeout: i32, |
1026 | unused_1: &::wasm_bindgen::JsValue, |
1027 | unused_2: &::wasm_bindgen::JsValue, |
1028 | unused_3: &::wasm_bindgen::JsValue, |
1029 | ) -> Result<i32, JsValue>; |
1030 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1031 | #[doc = "The `setInterval()` method." ] |
1032 | #[doc = "" ] |
1033 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1034 | #[doc = "" ] |
1035 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1036 | pub fn set_interval_with_str_and_timeout_and_unused_4( |
1037 | this: &WorkerGlobalScope, |
1038 | handler: &str, |
1039 | timeout: i32, |
1040 | unused_1: &::wasm_bindgen::JsValue, |
1041 | unused_2: &::wasm_bindgen::JsValue, |
1042 | unused_3: &::wasm_bindgen::JsValue, |
1043 | unused_4: &::wasm_bindgen::JsValue, |
1044 | ) -> Result<i32, JsValue>; |
1045 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1046 | #[doc = "The `setInterval()` method." ] |
1047 | #[doc = "" ] |
1048 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1049 | #[doc = "" ] |
1050 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1051 | pub fn set_interval_with_str_and_timeout_and_unused_5( |
1052 | this: &WorkerGlobalScope, |
1053 | handler: &str, |
1054 | timeout: i32, |
1055 | unused_1: &::wasm_bindgen::JsValue, |
1056 | unused_2: &::wasm_bindgen::JsValue, |
1057 | unused_3: &::wasm_bindgen::JsValue, |
1058 | unused_4: &::wasm_bindgen::JsValue, |
1059 | unused_5: &::wasm_bindgen::JsValue, |
1060 | ) -> Result<i32, JsValue>; |
1061 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1062 | #[doc = "The `setInterval()` method." ] |
1063 | #[doc = "" ] |
1064 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1065 | #[doc = "" ] |
1066 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1067 | pub fn set_interval_with_str_and_timeout_and_unused_6( |
1068 | this: &WorkerGlobalScope, |
1069 | handler: &str, |
1070 | timeout: i32, |
1071 | unused_1: &::wasm_bindgen::JsValue, |
1072 | unused_2: &::wasm_bindgen::JsValue, |
1073 | unused_3: &::wasm_bindgen::JsValue, |
1074 | unused_4: &::wasm_bindgen::JsValue, |
1075 | unused_5: &::wasm_bindgen::JsValue, |
1076 | unused_6: &::wasm_bindgen::JsValue, |
1077 | ) -> Result<i32, JsValue>; |
1078 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setInterval)] |
1079 | #[doc = "The `setInterval()` method." ] |
1080 | #[doc = "" ] |
1081 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setInterval)" ] |
1082 | #[doc = "" ] |
1083 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1084 | pub fn set_interval_with_str_and_timeout_and_unused_7( |
1085 | this: &WorkerGlobalScope, |
1086 | handler: &str, |
1087 | timeout: i32, |
1088 | unused_1: &::wasm_bindgen::JsValue, |
1089 | unused_2: &::wasm_bindgen::JsValue, |
1090 | unused_3: &::wasm_bindgen::JsValue, |
1091 | unused_4: &::wasm_bindgen::JsValue, |
1092 | unused_5: &::wasm_bindgen::JsValue, |
1093 | unused_6: &::wasm_bindgen::JsValue, |
1094 | unused_7: &::wasm_bindgen::JsValue, |
1095 | ) -> Result<i32, JsValue>; |
1096 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1097 | #[doc = "The `setTimeout()` method." ] |
1098 | #[doc = "" ] |
1099 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1100 | #[doc = "" ] |
1101 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1102 | pub fn set_timeout_with_callback( |
1103 | this: &WorkerGlobalScope, |
1104 | handler: &::js_sys::Function, |
1105 | ) -> Result<i32, JsValue>; |
1106 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1107 | #[doc = "The `setTimeout()` method." ] |
1108 | #[doc = "" ] |
1109 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1110 | #[doc = "" ] |
1111 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1112 | pub fn set_timeout_with_callback_and_timeout_and_arguments( |
1113 | this: &WorkerGlobalScope, |
1114 | handler: &::js_sys::Function, |
1115 | timeout: i32, |
1116 | arguments: &::js_sys::Array, |
1117 | ) -> Result<i32, JsValue>; |
1118 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1119 | #[doc = "The `setTimeout()` method." ] |
1120 | #[doc = "" ] |
1121 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1122 | #[doc = "" ] |
1123 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1124 | pub fn set_timeout_with_callback_and_timeout_and_arguments_0( |
1125 | this: &WorkerGlobalScope, |
1126 | handler: &::js_sys::Function, |
1127 | timeout: i32, |
1128 | ) -> Result<i32, JsValue>; |
1129 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1130 | #[doc = "The `setTimeout()` method." ] |
1131 | #[doc = "" ] |
1132 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1133 | #[doc = "" ] |
1134 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1135 | pub fn set_timeout_with_callback_and_timeout_and_arguments_1( |
1136 | this: &WorkerGlobalScope, |
1137 | handler: &::js_sys::Function, |
1138 | timeout: i32, |
1139 | arguments_1: &::wasm_bindgen::JsValue, |
1140 | ) -> Result<i32, JsValue>; |
1141 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1142 | #[doc = "The `setTimeout()` method." ] |
1143 | #[doc = "" ] |
1144 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1145 | #[doc = "" ] |
1146 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1147 | pub fn set_timeout_with_callback_and_timeout_and_arguments_2( |
1148 | this: &WorkerGlobalScope, |
1149 | handler: &::js_sys::Function, |
1150 | timeout: i32, |
1151 | arguments_1: &::wasm_bindgen::JsValue, |
1152 | arguments_2: &::wasm_bindgen::JsValue, |
1153 | ) -> Result<i32, JsValue>; |
1154 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1155 | #[doc = "The `setTimeout()` method." ] |
1156 | #[doc = "" ] |
1157 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1158 | #[doc = "" ] |
1159 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1160 | pub fn set_timeout_with_callback_and_timeout_and_arguments_3( |
1161 | this: &WorkerGlobalScope, |
1162 | handler: &::js_sys::Function, |
1163 | timeout: i32, |
1164 | arguments_1: &::wasm_bindgen::JsValue, |
1165 | arguments_2: &::wasm_bindgen::JsValue, |
1166 | arguments_3: &::wasm_bindgen::JsValue, |
1167 | ) -> Result<i32, JsValue>; |
1168 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1169 | #[doc = "The `setTimeout()` method." ] |
1170 | #[doc = "" ] |
1171 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1172 | #[doc = "" ] |
1173 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1174 | pub fn set_timeout_with_callback_and_timeout_and_arguments_4( |
1175 | this: &WorkerGlobalScope, |
1176 | handler: &::js_sys::Function, |
1177 | timeout: i32, |
1178 | arguments_1: &::wasm_bindgen::JsValue, |
1179 | arguments_2: &::wasm_bindgen::JsValue, |
1180 | arguments_3: &::wasm_bindgen::JsValue, |
1181 | arguments_4: &::wasm_bindgen::JsValue, |
1182 | ) -> Result<i32, JsValue>; |
1183 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1184 | #[doc = "The `setTimeout()` method." ] |
1185 | #[doc = "" ] |
1186 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1187 | #[doc = "" ] |
1188 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1189 | pub fn set_timeout_with_callback_and_timeout_and_arguments_5( |
1190 | this: &WorkerGlobalScope, |
1191 | handler: &::js_sys::Function, |
1192 | timeout: i32, |
1193 | arguments_1: &::wasm_bindgen::JsValue, |
1194 | arguments_2: &::wasm_bindgen::JsValue, |
1195 | arguments_3: &::wasm_bindgen::JsValue, |
1196 | arguments_4: &::wasm_bindgen::JsValue, |
1197 | arguments_5: &::wasm_bindgen::JsValue, |
1198 | ) -> Result<i32, JsValue>; |
1199 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1200 | #[doc = "The `setTimeout()` method." ] |
1201 | #[doc = "" ] |
1202 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1203 | #[doc = "" ] |
1204 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1205 | pub fn set_timeout_with_callback_and_timeout_and_arguments_6( |
1206 | this: &WorkerGlobalScope, |
1207 | handler: &::js_sys::Function, |
1208 | timeout: i32, |
1209 | arguments_1: &::wasm_bindgen::JsValue, |
1210 | arguments_2: &::wasm_bindgen::JsValue, |
1211 | arguments_3: &::wasm_bindgen::JsValue, |
1212 | arguments_4: &::wasm_bindgen::JsValue, |
1213 | arguments_5: &::wasm_bindgen::JsValue, |
1214 | arguments_6: &::wasm_bindgen::JsValue, |
1215 | ) -> Result<i32, JsValue>; |
1216 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1217 | #[doc = "The `setTimeout()` method." ] |
1218 | #[doc = "" ] |
1219 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1220 | #[doc = "" ] |
1221 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1222 | pub fn set_timeout_with_callback_and_timeout_and_arguments_7( |
1223 | this: &WorkerGlobalScope, |
1224 | handler: &::js_sys::Function, |
1225 | timeout: i32, |
1226 | arguments_1: &::wasm_bindgen::JsValue, |
1227 | arguments_2: &::wasm_bindgen::JsValue, |
1228 | arguments_3: &::wasm_bindgen::JsValue, |
1229 | arguments_4: &::wasm_bindgen::JsValue, |
1230 | arguments_5: &::wasm_bindgen::JsValue, |
1231 | arguments_6: &::wasm_bindgen::JsValue, |
1232 | arguments_7: &::wasm_bindgen::JsValue, |
1233 | ) -> Result<i32, JsValue>; |
1234 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1235 | #[doc = "The `setTimeout()` method." ] |
1236 | #[doc = "" ] |
1237 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1238 | #[doc = "" ] |
1239 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1240 | pub fn set_timeout_with_str(this: &WorkerGlobalScope, handler: &str) -> Result<i32, JsValue>; |
1241 | # [wasm_bindgen (catch , method , structural , variadic , 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 fn set_timeout_with_str_and_timeout_and_unused( |
1248 | this: &WorkerGlobalScope, |
1249 | handler: &str, |
1250 | timeout: i32, |
1251 | unused: &::js_sys::Array, |
1252 | ) -> Result<i32, JsValue>; |
1253 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1254 | #[doc = "The `setTimeout()` method." ] |
1255 | #[doc = "" ] |
1256 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1257 | #[doc = "" ] |
1258 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1259 | pub fn set_timeout_with_str_and_timeout_and_unused_0( |
1260 | this: &WorkerGlobalScope, |
1261 | handler: &str, |
1262 | timeout: i32, |
1263 | ) -> Result<i32, JsValue>; |
1264 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1265 | #[doc = "The `setTimeout()` method." ] |
1266 | #[doc = "" ] |
1267 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1268 | #[doc = "" ] |
1269 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1270 | pub fn set_timeout_with_str_and_timeout_and_unused_1( |
1271 | this: &WorkerGlobalScope, |
1272 | handler: &str, |
1273 | timeout: i32, |
1274 | unused_1: &::wasm_bindgen::JsValue, |
1275 | ) -> Result<i32, JsValue>; |
1276 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1277 | #[doc = "The `setTimeout()` method." ] |
1278 | #[doc = "" ] |
1279 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1280 | #[doc = "" ] |
1281 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1282 | pub fn set_timeout_with_str_and_timeout_and_unused_2( |
1283 | this: &WorkerGlobalScope, |
1284 | handler: &str, |
1285 | timeout: i32, |
1286 | unused_1: &::wasm_bindgen::JsValue, |
1287 | unused_2: &::wasm_bindgen::JsValue, |
1288 | ) -> Result<i32, JsValue>; |
1289 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1290 | #[doc = "The `setTimeout()` method." ] |
1291 | #[doc = "" ] |
1292 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1293 | #[doc = "" ] |
1294 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1295 | pub fn set_timeout_with_str_and_timeout_and_unused_3( |
1296 | this: &WorkerGlobalScope, |
1297 | handler: &str, |
1298 | timeout: i32, |
1299 | unused_1: &::wasm_bindgen::JsValue, |
1300 | unused_2: &::wasm_bindgen::JsValue, |
1301 | unused_3: &::wasm_bindgen::JsValue, |
1302 | ) -> Result<i32, JsValue>; |
1303 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1304 | #[doc = "The `setTimeout()` method." ] |
1305 | #[doc = "" ] |
1306 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1307 | #[doc = "" ] |
1308 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1309 | pub fn set_timeout_with_str_and_timeout_and_unused_4( |
1310 | this: &WorkerGlobalScope, |
1311 | handler: &str, |
1312 | timeout: i32, |
1313 | unused_1: &::wasm_bindgen::JsValue, |
1314 | unused_2: &::wasm_bindgen::JsValue, |
1315 | unused_3: &::wasm_bindgen::JsValue, |
1316 | unused_4: &::wasm_bindgen::JsValue, |
1317 | ) -> Result<i32, JsValue>; |
1318 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1319 | #[doc = "The `setTimeout()` method." ] |
1320 | #[doc = "" ] |
1321 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1322 | #[doc = "" ] |
1323 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1324 | pub fn set_timeout_with_str_and_timeout_and_unused_5( |
1325 | this: &WorkerGlobalScope, |
1326 | handler: &str, |
1327 | timeout: i32, |
1328 | unused_1: &::wasm_bindgen::JsValue, |
1329 | unused_2: &::wasm_bindgen::JsValue, |
1330 | unused_3: &::wasm_bindgen::JsValue, |
1331 | unused_4: &::wasm_bindgen::JsValue, |
1332 | unused_5: &::wasm_bindgen::JsValue, |
1333 | ) -> Result<i32, JsValue>; |
1334 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1335 | #[doc = "The `setTimeout()` method." ] |
1336 | #[doc = "" ] |
1337 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1338 | #[doc = "" ] |
1339 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1340 | pub fn set_timeout_with_str_and_timeout_and_unused_6( |
1341 | this: &WorkerGlobalScope, |
1342 | handler: &str, |
1343 | timeout: i32, |
1344 | unused_1: &::wasm_bindgen::JsValue, |
1345 | unused_2: &::wasm_bindgen::JsValue, |
1346 | unused_3: &::wasm_bindgen::JsValue, |
1347 | unused_4: &::wasm_bindgen::JsValue, |
1348 | unused_5: &::wasm_bindgen::JsValue, |
1349 | unused_6: &::wasm_bindgen::JsValue, |
1350 | ) -> Result<i32, JsValue>; |
1351 | # [wasm_bindgen (catch , method , structural , js_class = "WorkerGlobalScope" , js_name = setTimeout)] |
1352 | #[doc = "The `setTimeout()` method." ] |
1353 | #[doc = "" ] |
1354 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/setTimeout)" ] |
1355 | #[doc = "" ] |
1356 | #[doc = "*This API requires the following crate features to be activated: `WorkerGlobalScope`*" ] |
1357 | pub fn set_timeout_with_str_and_timeout_and_unused_7( |
1358 | this: &WorkerGlobalScope, |
1359 | handler: &str, |
1360 | timeout: i32, |
1361 | unused_1: &::wasm_bindgen::JsValue, |
1362 | unused_2: &::wasm_bindgen::JsValue, |
1363 | unused_3: &::wasm_bindgen::JsValue, |
1364 | unused_4: &::wasm_bindgen::JsValue, |
1365 | unused_5: &::wasm_bindgen::JsValue, |
1366 | unused_6: &::wasm_bindgen::JsValue, |
1367 | unused_7: &::wasm_bindgen::JsValue, |
1368 | ) -> Result<i32, JsValue>; |
1369 | } |
1370 | |